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:
Bastian Köcher
2021-09-30 14:58:28 +02:00
committed by GitHub
parent e0742bcd6d
commit a58b5a947f
@@ -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)