Skip to content

Commit

Permalink
test(sharness): test address filtering
Browse files Browse the repository at this point in the history
tests ipfs#6995
  • Loading branch information
Stebalien authored and Walter Beegle committed Jun 8, 2020
1 parent 2c2ec14 commit c27d8c6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/sharness/t0142-testfilter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ test_expect_success 'filter 127.0.0.0/24 on node 1' '
'

for i in $(seq 0 $(( NUM_NODES - 1 ))); do
<<<<<<< HEAD
=======
test_expect_success 'enable quic for node $i' '
echo "$i"
ipfsi $i config --json Experimental.QUIC true
'

>>>>>>> test(sharness): test address filtering
test_expect_success "change IP for node $i" '
ipfsi $i config --json "Addresses.Swarm" \
"[\"/ip4/127.0.$i.1/tcp/0\",\"/ip4/127.0.$i.1/udp/0/quic\",\"/ip4/127.0.$i.1/tcp/0/ws\"]"
Expand Down

0 comments on commit c27d8c6

Please sign in to comment.