diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2024-01-13 21:50:21 +0100 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2024-01-24 21:32:27 +0100 |
commit | bbefd6f0cbf4867af2e2e41e0719bf010bd16f2c (patch) | |
tree | 912721aa5c0be8e4cf16983720a3045d874386f4 /message.test | |
parent | 779c2e5d7b04abaf78b9919ab9a087e4a6969736 (diff) |
(test) Message: sync state when peer appears on network
Diffstat (limited to 'message.test')
-rw-r--r-- | message.test | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/message.test b/message.test index f630c59..307f11a 100644 --- a/message.test +++ b/message.test @@ -132,3 +132,18 @@ test DirectMessage: send "start-server" to p1 expect /dm-received from Owner1 text while_offline/ from p2 + + for p in [p1, p2]: + with p: + send "stop-server" + for p in [p1, p2]: + with p: + expect /stop-server-done/ + send "start-server" to p1 + + send "dm-send-contact $c1_2 while_peer_offline" to p1 + # TODO: sync from p1 on peer p2 discovery not ensured without addition wait + #wait + send "start-server" to p2 + + expect /dm-received from Owner1 text while_peer_offline/ from p2 |