From ae9a1cc9e00a78476ee8f3b83133707fa026b39b Mon Sep 17 00:00:00 2001 From: Florent Poinsard Date: Mon, 15 Jul 2024 17:36:07 -0600 Subject: [PATCH] Skip the correct test Signed-off-by: Florent Poinsard --- go/test/endtoend/vtgate/queries/misc/misc_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/go/test/endtoend/vtgate/queries/misc/misc_test.go b/go/test/endtoend/vtgate/queries/misc/misc_test.go index b29271b0924..2d861b1a625 100644 --- a/go/test/endtoend/vtgate/queries/misc/misc_test.go +++ b/go/test/endtoend/vtgate/queries/misc/misc_test.go @@ -94,12 +94,6 @@ func TestHexVals(t *testing.T) { } func TestDateTimeTimestampVals(t *testing.T) { - version, err := cluster.GetMajorVersion("vtgate") - require.NoError(t, err) - if version != 19 { - t.Skip("cannot run upgrade/downgrade test") - } - mcmp, closer := start(t) defer closer() @@ -121,6 +115,12 @@ func TestInvalidDateTimeTimestampVals(t *testing.T) { } func TestJoinWithThreeTables(t *testing.T) { + version, err := cluster.GetMajorVersion("vtgate") + require.NoError(t, err) + if version != 19 { + t.Skip("cannot run upgrade/downgrade test") + } + mcmp, closer := start(t) defer closer()