提交 21befd5f 作者: Steven Allen

run the twonode test with QUIC enabled

No reason not to and it would have caught #5416

License: MIT
Signed-off-by: 's avatarSteven Allen <steven@stebalien.com>
上级 3bc47d36
...@@ -89,6 +89,12 @@ test_expect_success "set up tcp testbed" ' ...@@ -89,6 +89,12 @@ test_expect_success "set up tcp testbed" '
iptb init -n 2 -p 0 -f --bootstrap=none iptb init -n 2 -p 0 -f --bootstrap=none
' '
# Enable quic but don't use it yet.
test_expect_success "enable QUIC experiment" '
ipfsi 0 config --json Experimental.QUIC true &&
ipfsi 1 config --json Experimental.QUIC true
'
# test multiplex muxer # test multiplex muxer
echo "Running advanced tests with mplex" echo "Running advanced tests with mplex"
export LIBP2P_MUX_PREFS="/mplex/6.7.0" export LIBP2P_MUX_PREFS="/mplex/6.7.0"
...@@ -101,11 +107,6 @@ run_advanced_test ...@@ -101,11 +107,6 @@ run_advanced_test
# test QUIC # test QUIC
echo "Running advanced tests over QUIC" echo "Running advanced tests over QUIC"
test_expect_success "enable QUIC experiment" '
ipfsi 0 config --json Experimental.QUIC true &&
ipfsi 1 config --json Experimental.QUIC true
'
addr1='"[\"/ip4/127.0.0.1/udp/0/quic/\"]"' addr1='"[\"/ip4/127.0.0.1/udp/0/quic/\"]"'
addr2='"[\"/ip4/127.0.0.1/udp/0/quic/\"]"' addr2='"[\"/ip4/127.0.0.1/udp/0/quic/\"]"'
test_expect_success "add QUIC swarm addresses" ' test_expect_success "add QUIC swarm addresses" '
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论