Skip to content
Snippets Groups Projects
Commit ce27250c authored by Robert Klotzner's avatar Robert Klotzner Committed by GitHub
Browse files

Double time we give spawned tasks. (#4415)

* Double time we give spawned tasks.

* Increase time even more, for better robustness.
parent a7843702
Branches
No related merge requests found
......@@ -167,7 +167,7 @@ impl TestState {
/// We try to be as agnostic about details as possible, how the subsystem achieves those goals
/// should not be a matter to this test suite.
async fn run_inner(mut self, mut harness: TestHarness) {
// We skip genesis here (in reality ActiveLeavesUpdate can also skip a block:
// We skip genesis here (in reality ActiveLeavesUpdate can also skip a block):
let updates = {
let mut advanced = self.relay_chain.iter();
advanced.next();
......@@ -204,7 +204,7 @@ impl TestState {
overseer_signal(update_tx.clone(), OverseerSignal::ActiveLeaves(update)).await;
// We need to give the subsystem a little time to do its job, otherwise it will
// cancel jobs as obsolete:
Delay::new(Duration::from_millis(20)).await;
Delay::new(Duration::from_millis(100)).await;
}
}
.boxed(),
......
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