refactor(runner): remove test connection

This commit is contained in:
2026-02-25 16:40:37 +02:00
parent c0886a454d
commit 082add6be0
2 changed files with 1 additions and 15 deletions

View File

@@ -12,6 +12,7 @@ alias c := check
alias d := docs
alias f := fmt
alias t := test
alias bench := benchmark
# Run all checks (fmt, clippy, docs, test)
[group("dev")]

View File

@@ -183,21 +183,6 @@ async fn run_benchmark(
}
info!("warmup complete");
let test_conn = tls_connector
.connect(
server_name.clone(),
TcpStream::connect(server)
.await
.into_diagnostic()
.context(format!("failed to connect to server {server}"))?,
)
.await
.into_diagnostic()
.context("TLS handshake failed")?;
let cipher = test_conn.get_ref().1.negotiated_cipher_suite();
info!(cipher = ?cipher, "TLS handshake complete");
#[allow(clippy::cast_possible_truncation)] // concurrency is limited to reasonable values
let semaphore = Arc::new(Semaphore::new(config.concurrency as usize));
let tasks = spawn_benchmark_tasks(config, &semaphore, tls_connector, server_name);