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

Use non-default port for fail_initialization_with_no_node test 🦖 #1516

Merged
merged 1 commit into from
Nov 25, 2022
Merged
Changes from all 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 crates/e2e/src/tests.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#[tokio::test]
#[should_panic(
expected = "Error establishing connection to a node at ws://0.0.0.0:9944. Make sure you run a node behind the given url!"
expected = "Error establishing connection to a node at ws://0.0.0.0:9999. Make sure you run a node behind the given url!"
)]
async fn fail_initialization_with_no_node() {
let _ = crate::Client::<crate::PolkadotConfig, ink_env::DefaultEnvironment>::new(
"ws://0.0.0.0:9944",
"ws://0.0.0.0:9999",
)
.await;
}