diff --git a/go/vt/vtgate/executor_vschema_ddl_test.go b/go/vt/vtgate/executor_vschema_ddl_test.go index 89e620533c1..e40cb723257 100644 --- a/go/vt/vtgate/executor_vschema_ddl_test.go +++ b/go/vt/vtgate/executor_vschema_ddl_test.go @@ -447,13 +447,6 @@ func TestExecutorDropAutoIncDDL(t *testing.T) { executor, _, _, _ := createExecutorEnv() ks := KsTestUnsharded - vschema := executor.vm.GetCurrentSrvVschema() - - var vschemaTables []string - for t := range vschema.Keyspaces[ks].Tables { - vschemaTables = append(vschemaTables, t) - } - session := NewSafeSession(&vtgatepb.Session{TargetString: ks}) stmt := "alter vschema add table test_table"