mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-13 17:58:13 +00:00
core: fix flaky badge presentation catch-up test
This commit is contained in:
1 parent
bd97e4df34
commit
c2c70fa114
1 file changed
+2
@@ -1042,6 +1042,8 @@ testPresentationCatchesUp ps =
|
||||
length expiries `shouldBe` 2
|
||||
let firstMonth = head expiries
|
||||
latestMonth = last expiries
|
||||
-- without this bob can receive the presentation after the updates below and never lose it
|
||||
waitPeerBadgeExpiry (chatController bob) latestMonth
|
||||
-- the renewal's rows are kept; only its presentation is undone, on both sides
|
||||
setBadgeExpiry (chatController alice) "badge_signature" firstMonth
|
||||
setBadgeExpiry (chatController bob) "badge_proof" firstMonth
|
||||
|
||||
Reference in new issue
Block a user