mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-17 12:27:03 +00:00
core: fix flaky badge presentation catch-up test
This commit is contained in:
@@ -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