Merge "keystore2: increase unit test timeout"
This commit is contained in:
commit
58fe4fe69e
1 changed files with 4 additions and 2 deletions
|
@ -417,7 +417,9 @@ mod tests {
|
|||
Err(RecvTimeoutError::Timeout)
|
||||
);
|
||||
done_receiver.recv().unwrap();
|
||||
idle_done_receiver.recv_timeout(Duration::from_millis(1)).unwrap();
|
||||
// Now that the last low-priority job has completed, the idle task should
|
||||
// fire pretty much immediately.
|
||||
idle_done_receiver.recv_timeout(Duration::from_millis(50)).unwrap();
|
||||
|
||||
// Idle callback not executed again even if we wait for a while.
|
||||
assert_eq!(
|
||||
|
@ -438,7 +440,7 @@ mod tests {
|
|||
Err(RecvTimeoutError::Timeout)
|
||||
);
|
||||
done_receiver.recv().unwrap();
|
||||
idle_done_receiver.recv_timeout(Duration::from_millis(1)).unwrap();
|
||||
idle_done_receiver.recv_timeout(Duration::from_millis(50)).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in a new issue