diff --git a/test/dependencies/iptb/iptb.go b/test/dependencies/iptb/iptb.go index 3344c656b..11e8225c8 100644 --- a/test/dependencies/iptb/iptb.go +++ b/test/dependencies/iptb/iptb.go @@ -26,6 +26,7 @@ func init() { func main() { cli := cli.NewCli() + os.Setenv("GOLOG_LOG_LEVEL", "autorelay=debug") if err := cli.Run(os.Args); err != nil { fmt.Fprintf(cli.ErrWriter, "%s\n", err) os.Exit(1) diff --git a/test/sharness/t0182-circuit-relay.sh b/test/sharness/t0182-circuit-relay.sh index d7d112148..145d659e8 100755 --- a/test/sharness/t0182-circuit-relay.sh +++ b/test/sharness/t0182-circuit-relay.sh @@ -57,14 +57,7 @@ test_expect_success 'connect B <-> Relay' ' ' test_expect_success 'wait until relay is ready to do work' ' - while ! ipfsi 2 swarm connect /p2p/$PEERID_1/p2p-circuit/p2p/$PEERID_0; do - iptb stop && - iptb_wait_stop && - iptb start -wait -- --routing=none && - iptb connect 0 1 && - iptb connect 2 1 && - sleep 5 - done + sleep 1 ' test_expect_success 'connect A <-Relay-> B' '