Skip to content

Commit

Permalink
Incorporate review feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Ping Xie <pingxie@google.com>
  • Loading branch information
PingXie committed May 17, 2024
1 parent 9aeeee5 commit c5eedd9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/unit/cluster/slot-migration.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ start_cluster 3 3 {tags {external:skip cluster} overrides {cluster-allow-replica
set R1_id [R 1 CLUSTER MYID]

test "CLUSTER SETSLOT with an explicit timeout" {
# trigger a replica failure
# Pause the replica to simulate a failure
pause_process [srv -3 pid]

# Setslot with an explicit 1ms timeoout
Expand All @@ -353,5 +353,7 @@ start_cluster 3 3 {tags {external:skip cluster} overrides {cluster-allow-replica

# Setslot should fail with not enough good replicas to write after the timeout
assert_equal {NOREPLICAS Not enough good replicas to write.} $e

resume_process [srv -3 pid]
}
}

0 comments on commit c5eedd9

Please sign in to comment.