summaryrefslogtreecommitdiff
path: root/cli/bench/http.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-10-15 13:35:04 +0200
committerGitHub <noreply@github.com>2022-10-15 13:35:04 +0200
commit8283d37c51a8fd5f92ba3f8be0bb26f241f864b6 (patch)
treea29a2cb41e9165fc9700106061dfb734de83a296 /cli/bench/http.rs
parent9c7a5c0c616eb309b582d61b61b9ef1cc4526909 (diff)
bench: avoid port collision (#16285)
Diffstat (limited to 'cli/bench/http.rs')
-rw-r--r--cli/bench/http.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/bench/http.rs b/cli/bench/http.rs
index a656ee708..7c02a37e4 100644
--- a/cli/bench/http.rs
+++ b/cli/bench/http.rs
@@ -191,8 +191,9 @@ fn server_addr(port: u16) -> String {
}
fn core_http_json_ops(exe: &str) -> Result<HttpBenchmarkResult> {
+ // let port = get_port();
println!("http_benchmark testing CORE http_bench_json_ops");
- run(&[exe], 4544, None, None, None)
+ run(&[exe], 4570, None, None, None)
}
fn hyper_http(exe: &str) -> Result<HttpBenchmarkResult> {