Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multiplex tests to t0130. #3556

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
"version": "0.1.0"
},
{
"hash": "QmU6FqHBr1W5ajRrj4cr2SfGq1w8gq2LpS42JWRysEb3BK",
"hash": "QmSXCTgRb3JhrV5ALbWocbNGD8Tc3HVHczFYvYKrSQAau3",
"name": "iptb",
"version": "1.1.2"
"version": "1.1.4"
},
{
"hash": "QmYDds3421prZgqKbLpEK7T9Aa2eVdQ7o3YarX1LVLdP2J",
Expand Down
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 /yamux/1.0.0 /spdy/3.1.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just to be a bit more certain of what we're testing, lets remove yamux and spdy from this list.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

k

run_advanced_test --enable-mplex-experiment
unset LIBP2P_MUX_PREFS

# test default configuration
run_advanced_test


test_done