Unverified Commit 04735b52 authored by Robert Klotzner's avatar Robert Klotzner Committed by GitHub
Browse files

Fix flaky availability-recovery test (#3812)

* Increase timeout in tests.

Fixes #3798

* Fix timeout.
parent 045a930a
Pipeline #156125 passed with stages
in 45 minutes and 4 seconds
......@@ -93,7 +93,7 @@ const COST_INVALID_REQUEST: Rep = Rep::CostMajor("Peer sent unparsable request")
#[cfg(not(test))]
const TIMEOUT_START_NEW_REQUESTS: Duration = CHUNK_REQUEST_TIMEOUT;
#[cfg(test)]
const TIMEOUT_START_NEW_REQUESTS: Duration = Duration::from_millis(10);
const TIMEOUT_START_NEW_REQUESTS: Duration = Duration::from_millis(100);
/// The Availability Recovery Subsystem.
pub struct AvailabilityRecoverySubsystem {
......
......@@ -109,7 +109,7 @@ fn test_harness_chunks_only<T: Future<Output = (VirtualOverseer, RequestResponse
.unwrap();
}
const TIMEOUT: Duration = Duration::from_millis(100);
const TIMEOUT: Duration = Duration::from_millis(300);
macro_rules! delay {
($delay:expr) => {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment