From 547413a839cde53a988d492f78f2d273c65fea8d Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Thu, 12 May 2022 14:54:01 +0200 Subject: [PATCH 1/2] fix(test): t0182-circuit-relay.sh Removes fixup introduced in https://github.com/ipfs/go-ipfs/pull/8868#discussion_r860219918 so we can dig into the underlying cause --- test/sharness/t0182-circuit-relay.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/test/sharness/t0182-circuit-relay.sh b/test/sharness/t0182-circuit-relay.sh index d6e439ae3..952efa2b8 100755 --- a/test/sharness/t0182-circuit-relay.sh +++ b/test/sharness/t0182-circuit-relay.sh @@ -56,14 +56,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' ' From ea4d3a9321fb518ca46289e4037512c0770947aa Mon Sep 17 00:00:00 2001 From: Lucas Molas Date: Tue, 31 May 2022 21:31:56 -0300 Subject: [PATCH 2/2] add log to iptb --- test/dependencies/iptb/iptb.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/dependencies/iptb/iptb.go b/test/dependencies/iptb/iptb.go index e3668c0a1..2a83f3185 100644 --- a/test/dependencies/iptb/iptb.go +++ b/test/dependencies/iptb/iptb.go @@ -27,6 +27,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)