mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-02 03:28:25 +08:00
sharness: add /ws multinode test
License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org>
This commit is contained in:

committed by
Steven Allen

parent
82bad6f08f
commit
e089e55f37
@ -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
|
||||
'
|
||||
|
||||
@ -96,5 +96,17 @@ unset LIBP2P_MUX_PREFS
|
||||
# test default configuration
|
||||
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
|
||||
|
Reference in New Issue
Block a user