Skip to content

Commit 89bc131

Browse files
author
Andrew Mason
authored
delete TestActionAndTimeout (#15322)
Signed-off-by: Andrew Mason <andrew@planetscale.com>
1 parent 6fec119 commit 89bc131

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

go/test/endtoend/tabletmanager/commands_test.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import (
2222
"fmt"
2323
"reflect"
2424
"testing"
25-
"time"
2625

2726
"vitess.io/vitess/go/test/endtoend/utils"
2827

@@ -140,18 +139,6 @@ func assertExecuteFetch(t *testing.T, qr string) {
140139
assert.Equal(t, want, got)
141140
}
142141

143-
// ActionAndTimeout test
144-
func TestActionAndTimeout(t *testing.T) {
145-
defer cluster.PanicHandler(t)
146-
err := clusterInstance.VtctldClientProcess.ExecuteCommand("SleepTablet", primaryTablet.Alias, "5s")
147-
require.Nil(t, err)
148-
time.Sleep(1 * time.Second)
149-
150-
// try a frontend RefreshState that should timeout as the tablet is busy running the other one
151-
err = clusterInstance.VtctlclientProcess.ExecuteCommand("RefreshState", primaryTablet.Alias, "--wait_timeout", "2s")
152-
assert.Error(t, err, "timeout as tablet is in Sleep")
153-
}
154-
155142
func TestHook(t *testing.T) {
156143
// test a regular program works
157144
defer cluster.PanicHandler(t)

0 commit comments

Comments
 (0)