Skip to content

Commit

Permalink
Only run the test if vtgate = v20
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
  • Loading branch information
frouioui committed Nov 19, 2024
1 parent a1d1fea commit d5a07d6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion go/test/endtoend/vtgate/queries/reference/reference_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,12 @@ func TestMultiReferenceQuery(t *testing.T) {
}

func TestDMLReferenceUsingShardedKS(t *testing.T) {
utils.SkipIfBinaryIsBelowVersion(t, 20, "vtgate")
version, err := cluster.GetMajorVersion("vtgate")
require.NoError(t, err)
if version != 20 {
t.Skip()
}

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

Expand Down

0 comments on commit d5a07d6

Please sign in to comment.