Skip to content
Snippets Groups Projects
Commit a58b5a94 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

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.
parent e0742bcd
Branches
No related merge requests found
...@@ -718,7 +718,7 @@ mod tests { ...@@ -718,7 +718,7 @@ mod tests {
); );
// when // when
let deadline = time::Duration::from_secs(9); let deadline = time::Duration::from_secs(900);
let block = let block =
block_on(proposer.propose(Default::default(), Default::default(), deadline, None)) block_on(proposer.propose(Default::default(), Default::default(), deadline, None))
.map(|r| r.block) .map(|r| r.block)
......
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