Compare commits
4 commits
12f562530c
...
c6e3d714a7
Author | SHA1 | Date | |
---|---|---|---|
c6e3d714a7 | |||
c27d891b65 | |||
347b9cb4dc | |||
5d64692f31 |
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,8 @@ fn when_history_has_expired_then_message_is_passed() {
|
|||
let result = history.sendable(user_notification);
|
||||
let_assert!(Some(user_notification) = result);
|
||||
|
||||
std::thread::sleep(dur);
|
||||
// twice the expiry duration to avoid things happening in the wrong order
|
||||
std::thread::sleep(dur);
|
||||
|
||||
// after dur, message has expired, so is still valid
|
||||
|
|
Loading…
Reference in a new issue