Skip to content

Commit

Permalink
test: Only run on this particular version
Browse files Browse the repository at this point in the history
Signed-off-by: Andres Taylor <[email protected]>
  • Loading branch information
systay committed Jun 27, 2024
1 parent 37c8f8f commit 09738c3
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ func start(t *testing.T) (utils.MySQLCompare, func()) {
}

func TestAggrWithLimit(t *testing.T) {
utils.SkipIfBinaryIsBelowVersion(t, 18, "vtgate")
version, err := cluster.GetMajorVersion("vtgate")
require.NoError(t, err)
if version != 18 {
t.Skip("Test requires VTGate version 18")
}
mcmp, closer := start(t)
defer closer()

Expand Down

0 comments on commit 09738c3

Please sign in to comment.