Compare commits
3 commits
c6e3d714a7
...
12f562530c
Author | SHA1 | Date | |
---|---|---|---|
12f562530c | |||
f61f822bd4 | |||
cdb7e35559 |
1 changed files with 0 additions and 2 deletions
|
@ -35,8 +35,6 @@ fn when_history_has_expired_then_message_is_passed() {
|
||||||
let result = history.sendable(user_notification);
|
let result = history.sendable(user_notification);
|
||||||
let_assert!(Some(user_notification) = result);
|
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);
|
std::thread::sleep(dur);
|
||||||
|
|
||||||
// after dur, message has expired, so is still valid
|
// after dur, message has expired, so is still valid
|
||||||
|
|
Loading…
Reference in a new issue