Skip to content

Commit

Permalink
test: fix test expectation
Browse files Browse the repository at this point in the history
Signed-off-by: Harshit Gangal <[email protected]>
  • Loading branch information
harshit-gangal committed Jan 15, 2025
1 parent e3ae981 commit eff08a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/test/endtoend/vtgate/misc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -753,9 +753,9 @@ func TestDescribeVindex(t *testing.T) {
_, err := conn.ExecuteFetch("describe hash", 1000, false)
require.Error(t, err)
mysqlErr := err.(*sqlerror.SQLError)
assert.Equal(t, sqlerror.ERNoSuchTable, mysqlErr.Num)
assert.Equal(t, sqlerror.ERUnknownTable, mysqlErr.Num)
assert.Equal(t, "42S02", mysqlErr.State)
assert.ErrorContains(t, mysqlErr, "NotFound desc")
assert.ErrorContains(t, mysqlErr, "VT05004: table 'hash' does not exist")
}

func TestEmptyQuery(t *testing.T) {
Expand Down

0 comments on commit eff08a4

Please sign in to comment.