Skip to content

Commit

Permalink
Fix flaky test failure with SPOP
Browse files Browse the repository at this point in the history
  • Loading branch information
mna committed Sep 4, 2021
1 parent 7e3f427 commit d827581
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -818,8 +818,8 @@ func TestCommands(t *testing.T) {
{"SISMEMBER", redis.Args{"t1", "a"}, int64(1), ""},
{"SMEMBERS", redis.Args{"t1"}, lenResult(2), ""}, // order is not deterministic
{"SMOVE", redis.Args{"t1", "{t1}.c", "a"}, int64(1), ""},
{"SPOP", redis.Args{"t3"}, nil, ""},
{"SRANDMEMBER", redis.Args{"t3"}, nil, ""},
{"SPOP", redis.Args{"t3{t1}"}, nil, ""},
{"SRANDMEMBER", redis.Args{"t3{t1}"}, nil, ""},
{"SREM", redis.Args{"t1", "b"}, int64(1), ""},
{"SSCAN", redis.Args{"{t1}.b", 0}, lenResult(2), ""},
{"SUNION", redis.Args{"{t1}.b", "{t1}.c"}, lenResult(3), ""},
Expand Down

0 comments on commit d827581

Please sign in to comment.