Skip to content

Commit 95b5b32

Browse files
committed
test: remove outdated no slot commands tests
Signed-off-by: Rueian <[email protected]>
1 parent dac10aa commit 95b5b32

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

cluster_test.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3710,13 +3710,6 @@ func TestClusterClient_SendPrimaryNodeOnlyButOneSlotAssigned(t *testing.T) {
37103710
t.Fatalf("unexpected err %v", err)
37113711
}
37123712

3713-
t.Run("Do with no slot", func(t *testing.T) {
3714-
c := client.B().Info().Build()
3715-
if v, err := client.Do(context.Background(), c).ToString(); err != nil || v != "INFO" {
3716-
t.Fatalf("unexpected response %v %v", v, err)
3717-
}
3718-
})
3719-
37203713
t.Run("DoMulti Init Slot Operations", func(t *testing.T) {
37213714
c1 := client.B().Multi().Build()
37223715
c2 := client.B().Exec().Build()
@@ -6205,13 +6198,6 @@ func TestClusterClient_SendToOnlyPrimaryNodeWhenPrimaryNodeSelected(t *testing.T
62056198
t.Fatalf("unexpected err %v", err)
62066199
}
62076200

6208-
t.Run("Do with no slot", func(t *testing.T) {
6209-
c := client.B().Info().Build()
6210-
if v, err := client.Do(context.Background(), c).ToString(); err != nil || v != "INFO" {
6211-
t.Fatalf("unexpected response %v %v", v, err)
6212-
}
6213-
})
6214-
62156201
t.Run("Do", func(t *testing.T) {
62166202
c := client.B().Get().Key("Do").Build()
62176203
if v, err := client.Do(context.Background(), c).ToString(); err != nil || v != "GET Do" {

0 commit comments

Comments
 (0)