File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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" {
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff line change 1+ start_server {tags {" dummy" }} {
2+ test " dummy-flaky - basic SET and GET" {
3+ r SET mykey myvalue
4+ assert_equal [r GET mykey] " myvalue"
5+ }
6+
7+ test " dummy-flaky - intentional failure" {
8+ r SET mykey myvalue
9+ assert_equal [r GET mykey] " wrongvalue"
10+ }
11+
12+ test " dummy-flaky - another passing test" {
13+ r SET counter 0
14+ r INCR counter
15+ assert_equal [r GET counter] " 1"
16+ }
17+ }
You can’t perform that action at this time.
0 commit comments