mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-01 19:24:14 +08:00
Merge pull request #3766 from ipfs/feat/ws
sharness: add /ws multinode test
This commit is contained in:
@ -84,7 +84,7 @@ run_advanced_test() {
|
|||||||
'
|
'
|
||||||
}
|
}
|
||||||
|
|
||||||
test_expect_success "set up tcp testbed" '
|
test_expect_success "set up /tcp testbed" '
|
||||||
iptb init -n 5 -p 0 -f --bootstrap=none
|
iptb init -n 5 -p 0 -f --bootstrap=none
|
||||||
'
|
'
|
||||||
|
|
||||||
@ -96,5 +96,17 @@ unset LIBP2P_MUX_PREFS
|
|||||||
# test default configuration
|
# test default configuration
|
||||||
run_advanced_test
|
run_advanced_test
|
||||||
|
|
||||||
|
test_expect_success "set up /ws testbed" '
|
||||||
|
iptb init -n 5 -ws -p 0 -f --bootstrap=none
|
||||||
|
'
|
||||||
|
|
||||||
|
# test multiplex muxer
|
||||||
|
export LIBP2P_MUX_PREFS="/mplex/6.7.0"
|
||||||
|
run_advanced_test "--enable-mplex-experiment"
|
||||||
|
unset LIBP2P_MUX_PREFS
|
||||||
|
|
||||||
|
# test default configuration
|
||||||
|
run_advanced_test
|
||||||
|
|
||||||
|
|
||||||
test_done
|
test_done
|
||||||
|
Reference in New Issue
Block a user