Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: deepthi <deepthi@planetscale.com>
  • Loading branch information
deepthi committed Jun 30, 2020
1 parent e76b82b commit bd3c8ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions go/vt/vttablet/tabletserver/tabletserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ func TestTabletServerExecNonExistentConnection(t *testing.T) {
defer tsv.StopService()
options := &querypb.ExecuteOptions{}

// run a query in a non-existingt reserved id
// run a query with a non-existent reserved id
_, err = tsv.Execute(ctx, &target, "select 42", nil, 0, 123456, options)
require.Error(t, err)
}
Expand All @@ -951,7 +951,7 @@ func TestTabletServerReleaseNonExistentConnection(t *testing.T) {
require.NoError(t, err)
defer tsv.StopService()

// run a query in a non-existingt reserved id
// run a query with a non-existent reserved id
err = tsv.Release(ctx, &target, 0, 123456)
require.Error(t, err)
}
Expand All @@ -970,7 +970,7 @@ func TestMakeSureToCloseDbConnWhenBeginQueryFails(t *testing.T) {
defer tsv.StopService()
options := &querypb.ExecuteOptions{}

// run a query in a non-existingt reserved id
// run a query with a non-existent reserved id
_, _, _, _, err = tsv.ReserveBeginExecute(ctx, &target, "select 42", []string{}, nil, options)
require.Error(t, err)
}
Expand Down

0 comments on commit bd3c8ba

Please sign in to comment.