From 871769ee1ce9a14753dbdc455b7b8e9e102db795 Mon Sep 17 00:00:00 2001 From: Arthur Schreiber Date: Sun, 5 May 2024 19:51:21 +0000 Subject: [PATCH] Fix more test cases. Signed-off-by: Arthur Schreiber --- go/vt/vttablet/tabletserver/schema/main_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/go/vt/vttablet/tabletserver/schema/main_test.go b/go/vt/vttablet/tabletserver/schema/main_test.go index 0948c1313fc..e67097c1270 100644 --- a/go/vt/vttablet/tabletserver/schema/main_test.go +++ b/go/vt/vttablet/tabletserver/schema/main_test.go @@ -35,6 +35,7 @@ func getTestSchemaEngine(t *testing.T, schemaMaxAgeSeconds int64) (*Engine, *fak "1427325876", )) db.AddQueryPattern(baseShowTablesPattern, &sqltypes.Result{}) + db.AddQuery("SELECT table_name, table_type, unix_timestamp(create_time), table_comment FROM information_schema.tables WHERE table_schema = database()", &sqltypes.Result{}) db.AddQuery(mysql.BaseShowPrimary, &sqltypes.Result{}) AddFakeInnoDBReadRowsResult(db, 1) se := newEngine(10*time.Second, 10*time.Second, schemaMaxAgeSeconds, db)