Skip to content

Commit

Permalink
slack-19.0: skip vexplain in downgrade e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
  • Loading branch information
timvaillancourt committed Oct 12, 2024
1 parent 9885ab0 commit 88ae6ea
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions go/test/endtoend/vtgate/queries/vexplain/vexplain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ func start(t *testing.T) (*mysql.Conn, func()) {
}

func TestVtGateVExplain(t *testing.T) {
if !utils.BinaryIsAtLeastAtVersion(16, "vtgate") {
t.Log("test requires version >= 16, skipping")
return
}

conn, closer := start(t)
defer closer()

Expand Down Expand Up @@ -136,6 +141,11 @@ func TestVtGateVExplain(t *testing.T) {
}

func TestVExplainPlan(t *testing.T) {
if !utils.BinaryIsAtLeastAtVersion(16, "vtgate") {
t.Log("test requires version >= 16, skipping")
return
}

conn, closer := start(t)
defer closer()

Expand All @@ -145,6 +155,11 @@ func TestVExplainPlan(t *testing.T) {
}

func TestVExplainAll(t *testing.T) {
if !utils.BinaryIsAtLeastAtVersion(16, "vtgate") {
t.Log("test requires version >= 16, skipping")
return
}

conn, closer := start(t)
defer closer()

Expand Down

0 comments on commit 88ae6ea

Please sign in to comment.