Skip to content

Commit 71861a6

Browse files
reset_cluster before Half-finish importing
Signed-off-by: Sarthak Aggarwal <[email protected]>
1 parent a697b2f commit 71861a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/unit/cluster/half-migrated-slot.tcl

+2-1
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,11 @@ test "Move key back" {
8181
assert_equal "xyz" [$cluster get aga]
8282
}
8383

84+
reset_cluster
85+
8486
test "Half-finish importing" {
8587
# Now we half finish 'importing' node
8688
assert_equal {OK} [$nodeto(link) cluster setslot 609 node $nodeto(id)]
87-
assert_equal {OK} [$nodefrom(link) cluster setslot 609 node $nodeto(id)]
8889
fix_cluster $nodefrom(addr)
8990
assert_equal "xyz" [$cluster get aga]
9091
}

0 commit comments

Comments
 (0)