mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 03:47:45 +08:00
test: add simple multinode test for multiplex feature
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
parent
a9054e1273
commit
e8be741c7f
@ -72,7 +72,7 @@ run_basic_test() {
|
||||
}
|
||||
|
||||
run_advanced_test() {
|
||||
startup_cluster 5
|
||||
startup_cluster 5 "$@"
|
||||
|
||||
run_single_file_test
|
||||
|
||||
@ -87,6 +87,13 @@ test_expect_success "set up tcp testbed" '
|
||||
iptb init -n 5 -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user