From 33773031d59762a28fbc4673c7df2dd378b79d0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 13 Jan 2024 21:50:21 +0100 Subject: Message: sync state when peer appears on network --- test/message.test | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'test/message.test') diff --git a/test/message.test b/test/message.test index f630c59..307f11a 100644 --- a/test/message.test +++ b/test/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 -- cgit v1.2.3