Skip to content

Commit

Permalink
test show vitess_migrations query
Browse files Browse the repository at this point in the history
Signed-off-by: Shlomi Noach <[email protected]>
  • Loading branch information
shlomi-noach committed Jul 16, 2024
1 parent 700f3d2 commit df590b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions go/vt/vtgate/executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,10 @@ func TestExecutorShow(t *testing.T) {
}
utils.MustMatch(t, wantqr, qr, query)

query = "show vitess_migrations"
_, err = executor.Execute(ctx, nil, "TestExecute", session, query, nil)
require.NoError(t, err)

query = "show vschema vindexes"
qr, err = executor.Execute(ctx, nil, "TestExecute", session, query, nil)
require.NoError(t, err)
Expand Down

0 comments on commit df590b8

Please sign in to comment.