core: fix flaky badge presentation catch-up test

This commit is contained in:
spaced4ndy committed 2026-09-11 14:26:32 +04:00
1 parent bd97e4df34
commit c2c70fa114
1 file changed
+2
+2
View File
@@ -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