Skip to content

Commit a57e223

Browse files
committed
hack: fix connection failure beteween containers on github actions
https://stackoverflow.com/a/74341376
1 parent 8ad95e0 commit a57e223

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 hack to avoid connection failure on github actions
38+
- run: docker exec -i ishocon2-bench-1 sh -c "./benchmark --ip 172.0.0.1:443"
3839
timeout-minutes: 5

0 commit comments

Comments
 (0)