inrease test timeouts

This commit is contained in:
GroovieGermanikus 2023-08-09 17:43:49 +02:00
parent f4deb51c49
commit b080c23ffe
2 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ struct TestCaseParams {
proxy_mode: bool,
}
const MAXIMUM_TRANSACTIONS_IN_QUEUE: usize = 200_000;
const MAXIMUM_TRANSACTIONS_IN_QUEUE: usize = 16_384;
const MAX_QUIC_CONNECTIONS_PER_PEER: usize = 8; // like solana repo
const QUIC_CONNECTION_PARAMS: QuicConnectionParameters = QuicConnectionParameters {
@ -258,7 +258,7 @@ fn wireup_and_send_txs_via_channel(test_case_params: TestCaseParams) {
let warmup_tx_count: u32 = test_case_params.sample_tx_count / 2;
while (count_map.len() as u32) < test_case_params.sample_tx_count {
if latest_tx.elapsed() > Duration::from_secs(25) {
if latest_tx.elapsed() > Duration::from_secs(50) {
warn!("abort after timeout waiting for packet from quic streamer");
break;
}

View File

@ -164,7 +164,7 @@ fn wireup_and_send_txs_via_channel(test_case_params: TestCaseParams) {
CountMap::with_capacity(test_case_params.sample_tx_count as usize);
let warmup_tx_count: u32 = test_case_params.sample_tx_count / 2;
while (count_map.len() as u32) < test_case_params.sample_tx_count {
if latest_tx.elapsed() > Duration::from_secs(5) {
if latest_tx.elapsed() > Duration::from_secs(50) {
warn!("abort after timeout waiting for packet from quic streamer");
break;
}