Skip to content

Commit

Permalink
Update pubsub.tcl
Browse files Browse the repository at this point in the history
Co-authored-by: Binbin <[email protected]>
Signed-off-by: Harkrishn Patro <[email protected]>
Signed-off-by: Harkrishn Patro <[email protected]>
  • Loading branch information
hpatro and enjoy-binbin committed Jan 16, 2025
1 parent 8980818 commit 88d14a3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/unit/cluster/pubsub.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,10 @@ start_cluster 3 0 {tags {external:skip cluster}} {
R 0 PUBLISH hello world
assert_equal 2 [CI 0 cluster_stats_messages_publish_sent]
wait_for_condition 50 100 {
[CI 1 cluster_stats_messages_publish_received] eq 1
} else {
fail "node 2 didn't receive clusterbus publish packet"
}
wait_for_condition 50 100 {
[CI 1 cluster_stats_messages_publish_received] eq 1 &&
[CI 2 cluster_stats_messages_publish_received] eq 1
} else {
fail "node 3 didn't receive clusterbus publish packet"
fail "node 2 or node 3 didn't receive clusterbus publish packet"
}
}
}

0 comments on commit 88d14a3

Please sign in to comment.