mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-08 20:47:59 -05:00
Fix docker goss test (#6955)
Disable IPv6 in docker container for goss_wait test Since docker 26.0.0, IPv6 is used by default but our goss_wait test is expecting ports to be exposed on IPv4. Disabling IPv6 should work for all docker versions --------- Signed-off-by: Simon Dudley <simon.dudley@consensys.net> Co-authored-by: Usman Saleem <usman@usmans.info>
This commit is contained in:
@@ -20,7 +20,7 @@ if [[ $i != 0 ]]; then exit $i; fi
|
||||
# we test that things listen on the right interface/port, not what interface the advertise
|
||||
# hence we dont set p2p-host=0.0.0.0 because this sets what its advertising to devp2p; the important piece is that it defaults to listening on all interfaces
|
||||
GOSS_FILES_PATH=$TEST_PATH/01 \
|
||||
bash $TEST_PATH/dgoss run $DOCKER_IMAGE \
|
||||
bash $TEST_PATH/dgoss run --sysctl net.ipv6.conf.all.disable_ipv6=1 $DOCKER_IMAGE \
|
||||
--network=dev \
|
||||
--rpc-http-enabled \
|
||||
--rpc-ws-enabled \
|
||||
|
||||
Reference in New Issue
Block a user