Skip to content

Commit

Permalink
Replace H.annotate with H.noteShow_
Browse files Browse the repository at this point in the history
  • Loading branch information
carbolymer committed Apr 17, 2023
1 parent fcd3744 commit 5712fa8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cardano-testnet/test/Test/Cli/Alonzo/LeadershipSchedule.hs
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ hprop_leadershipSchedule = integrationRetryWorkspace 2 "alonzo-leadership-schedu
H.noteShow_ notLeaderSlots

-- Double check that we've seen all slots
H.annotate "Slots not seen as TraceNodeIsLeader nor TraceNodeNotLeader"
H.noteShow_ "Slots not seen as TraceNodeIsLeader nor TraceNodeNotLeader"
([minimum expectedLeadershipSlotNumbers .. maxSlotExpected] \\ leaderSlots) \\ notLeaderSlots === []

-- It's possible for some slots to not be assigned in TPraos when BFT nodes are running.
Expand Down
4 changes: 2 additions & 2 deletions cardano-testnet/test/Test/Cli/Babbage/LeadershipSchedule.hs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ hprop_leadershipSchedule = H.integrationRetryWorkspace 2 "babbage-leadership-sch
H.noteShow_ notLeaderSlots

-- Double check that we've seen all slots
H.annotate "Slots not seen as TraceNodeIsLeader nor TraceNodeNotLeader"
H.noteShow_ "Slots not seen as TraceNodeIsLeader nor TraceNodeNotLeader"
([minimum expectedLeadershipSlotNumbers .. maxSlotExpected] \\ leaderSlots) \\ notLeaderSlots === []

-- As there are no BFT nodes, the next leadership schedule should match slots assigned exactly
Expand Down Expand Up @@ -197,7 +197,7 @@ hprop_leadershipSchedule = H.integrationRetryWorkspace 2 "babbage-leadership-sch
H.noteShow_ notLeaderSlots

-- Double check that we've seen all slots
H.annotate "Slots not seen as TraceNodeIsLeader nor TraceNodeNotLeader"
H.noteShow_ "Slots not seen as TraceNodeIsLeader nor TraceNodeNotLeader"
([minimum expectedLeadershipSlotNumbers .. maxSlotExpected] \\ leaderSlots) \\ notLeaderSlots === []

-- As there are no BFT nodes, the next leadership schedule should match slots assigned exactly
Expand Down

0 comments on commit 5712fa8

Please sign in to comment.