This commit is contained in:
Marcin Rataj 2026-02-17 13:36:01 +01:00 committed by GitHub
commit 403ac79015
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 8 deletions

View File

@ -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)

View File

@ -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' '