Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Harkrishn Patro <[email protected]>
  • Loading branch information
hpatro committed Jun 17, 2024
1 parent 91f42c8 commit 0e1b739
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/cluster/shardid-propagation.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ tags {tls:skip external:skip cluster} {
cluster_allocate_slots 1 1
}

test "MEET is reliable when target drops the initial MEETs" {
test "Restart of node in cluster mode doesn't cause nodes.conf corruption due to shard id mismatch" {
set primary_id [R 0 CLUSTER MYID]
R 1 CLUSTER MEET 127.0.0.1 [srv 0 port]
set pattern *$primary_id*
Expand All @@ -44,7 +44,7 @@ tags {tls:skip external:skip cluster} {
set result [catch {R 0 DEBUG RESTART 0} err]

if {$result != 0 && $err ne "I/O error reading reply"} {
fail "Unexpected error restarting server $server_id: $err"
fail "Unexpected error restarting server: $err"
}

wait_for_condition 100 100 {
Expand Down

0 comments on commit 0e1b739

Please sign in to comment.