Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Dirkjan Bussink <[email protected]>
  • Loading branch information
dbussink committed Feb 2, 2024
1 parent d21ab02 commit 08408dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions go/vt/vtgate/plugin_mysql_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ import (
type testHandler struct {
mysql.UnimplementedHandler
lastConn *mysql.Conn
env *vtenv.Environment
}

func (th *testHandler) NewConnection(c *mysql.Conn) {
Expand Down Expand Up @@ -84,7 +83,7 @@ func (th *testHandler) WarningCount(c *mysql.Conn) uint16 {
}

func (th *testHandler) Env() *vtenv.Environment {
return th.env
return vtenv.NewTestEnv()
}

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

0 comments on commit 08408dc

Please sign in to comment.