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

fix(tests): bind to unique ports in ibc tests #4828

Merged
merged 1 commit into from
Aug 23, 2024
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: 3 additions & 1 deletion crates/core/app/tests/common/ibc_tests/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ impl TestNodeWithIBC {
"b" => 1,
_ => unreachable!("update this hack"),
};
let grpc_url = format!("http://127.0.0.1:808{}", index) // see #4517
// We use a non-standard port range, to avoid conflicting with other
// integration tests that bind to the more typical 8080/8081 ports.
let grpc_url = format!("http://127.0.0.1:999{}", index) // see #4517
.parse::<url::Url>()?
.tap(|url| tracing::debug!(%url, "parsed grpc url"));

Expand Down
Loading