Skip to content

Commit 49211bb

Browse files
committed
hack: fix connection failure beteween containers on github actions
ref: myoung34/docker-github-actions-runner#199
1 parent 8ad95e0 commit 49211bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@ jobs:
3434
env:
3535
ISHOCON_APP_LANG: ${{ matrix.language }}
3636
- run: make up && sleep 60
37-
- run: make bench
37+
# specifying IP `172.17.0.1` is a hack to avoid connection failure on github actions
38+
- run: docker exec -i ishocon2-bench-1 sh -c "./benchmark --ip 172.17.0.1:443"
3839
timeout-minutes: 5

0 commit comments

Comments
 (0)