Skip to content

Commit

Permalink
test: add simple multinode test for multiplex feature
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
  • Loading branch information
Kubuxu authored and whyrusleeping committed Jan 10, 2017
1 parent a9054e1 commit e8be741
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/sharness/t0130-multinode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ run_basic_test() {
}

run_advanced_test() {
startup_cluster 5
startup_cluster 5 "$@"

run_single_file_test

Expand All @@ -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

0 comments on commit e8be741

Please sign in to comment.