mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 13:27:57 +00:00
Double time we give spawned tasks. (#4415)
* Double time we give spawned tasks. * Increase time even more, for better robustness.
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user