mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
Merge ea4d3a9321 into c5776476bc
This commit is contained in:
commit
403ac79015
@ -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)
|
||||
|
||||
@ -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' '
|
||||
|
||||
Loading…
Reference in New Issue
Block a user