Skip to content

Commit 10048fb

Browse files
committed
Added dummy tests
Signed-off-by: Hanxi Zhang <hanxizh@amazon.com>
1 parent be6e92f commit 10048fb

3 files changed

Lines changed: 3 additions & 3 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
@@ -45,7 +45,7 @@ test "SENTINEL MYID return the sentinel instance ID" {
4545

4646
test "SENTINEL INFO CACHE returns the cached info" {
4747
set res [S 0 SENTINEL INFO-CACHE mymaster]
48-
assert_morethan_equal [llength $res] 2
48+
assert_morethan_equal [llength $res] 20
4949
assert_equal "mymaster" [lindex $res 0]
5050

5151
set res [lindex $res 1]

tests/unit/moduleapi/auth.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ start_server {tags {"modules"}} {
66
test {Modules can create a user that can be authenticated} {
77
# Make sure we start authenticated with default user
88
r auth default ""
9-
assert_equal [r acl whoami] "default"
9+
assert_equal [r acl whoami] "defaultt"
1010
r auth.createmoduleuser
1111

1212
set id [r auth.authmoduleuser]

0 commit comments

Comments
 (0)