mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 04:07:57 +00:00
Fix basic authorship flaky test (#9906)
The test is flaky because sometimes we hit the 9 seconds deadline when the CI was probably on high load. To "solve" this we just use an huge deadline that should never be triggered. The deadline isn't required anyway.
This commit is contained in:
@@ -718,7 +718,7 @@ mod tests {
|
||||
);
|
||||
|
||||
// when
|
||||
let deadline = time::Duration::from_secs(9);
|
||||
let deadline = time::Duration::from_secs(900);
|
||||
let block =
|
||||
block_on(proposer.propose(Default::default(), Default::default(), deadline, None))
|
||||
.map(|r| r.block)
|
||||
|
||||
Reference in New Issue
Block a user