run the twonode test with QUIC enabled
No reason not to and it would have caught #5416 License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
Steven Allen committed
Aug 31, 2018 at 15:13 UTC
21befd5f531e3518f235336c24e3f4f627e71cef
1 file changed
+6
-5
test/sharness/t0125-twonode.sh
+6
-5
@@ -89,6 +89,12 @@ test_expect_success "set up tcp testbed" '
89
iptb init -n 2 -p 0 -f --bootstrap=none
90
'
91
92
+# Enable quic but don't use it yet.
93
+test_expect_success "enable QUIC experiment" '
94
+ ipfsi 0 config --json Experimental.QUIC true &&
95
+ ipfsi 1 config --json Experimental.QUIC true
96
+'
97
+
98
# test multiplex muxer
99
echo "Running advanced tests with mplex"
100
export LIBP2P_MUX_PREFS="/mplex/6.7.0"
@@ -101,11 +107,6 @@ run_advanced_test
107
108
# test QUIC
109
echo "Running advanced tests over QUIC"
104
-test_expect_success "enable QUIC experiment" '
105
- ipfsi 0 config --json Experimental.QUIC true &&
106
- ipfsi 1 config --json Experimental.QUIC true
107
-'
108
-
110
addr1='"[\"/ip4/127.0.0.1/udp/0/quic/\"]"'
111
addr2='"[\"/ip4/127.0.0.1/udp/0/quic/\"]"'
112
test_expect_success "add QUIC swarm addresses" '