Skip to content

Commit

Permalink
fix: t0182-circuit-relay.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Apr 28, 2022
1 parent f81481e commit e49e30d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/sharness/t0182-circuit-relay.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ staticrelay=$(ipfsi 1 swarm addrs local | sed -e "s|$|/p2p/$PEERID_1|g" | jq --r

test_expect_success 'configure the relay node as a static relay for node A' '
ipfsi 0 config Internal.Libp2pForceReachability private &&
ipfsi 0 config --json Discovery.MDNS.Enabled false &&
ipfsi 0 config --json Swarm.RelayClient.Enabled true &&
ipfsi 0 config --json Swarm.RelayClient.StaticRelays "$staticrelay"
'

test_expect_success 'configure the relay node' '
ipfsi 1 config --json Addresses.Swarm "$relayaddrs" &&
ipfsi 1 config --json Discovery.MDNS.Enabled false &&
ipfsi 1 config Internal.Libp2pForceReachability public
'

Expand Down

0 comments on commit e49e30d

Please sign in to comment.