Skip to content

Commit 0959619

Browse files
committed
Added two dummy tests to verify the path bug in cluster and sentinel
Signed-off-by: Hanxi Zhang <hanxizh@amazon.com>
1 parent 2d09471 commit 0959619

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/cluster/tests/03-failover-loop.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ while {[incr iterations -1]} {
7878
}
7979

8080
test "Cluster should eventually be up again" {
81-
assert_cluster_state ok
81+
assert_cluster_state okk
8282
}
8383

8484
test "Cluster is writable again" {

tests/sentinel/tests/00-base.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ test "SENTINEL INFO CACHE returns the cached info" {
4949
assert_equal "mymaster" [lindex $res 0]
5050

5151
set res [lindex $res 1]
52-
assert_morethan_equal [llength $res] 2
52+
assert_morethan_equal [llength $res] 20
5353
assert_morethan [lindex $res 0] 0
5454
assert_match "*# Server*" [lindex $res 1]
5555
}

0 commit comments

Comments
 (0)