From ec6491f122a6b33a28065337238e1726921dec6a Mon Sep 17 00:00:00 2001 From: Roger Ng Date: Sun, 21 Jan 2024 00:00:55 +0000 Subject: [PATCH] Update crdb testserver version to latest format --- quota/crdbqm/common_test.go | 2 +- storage/crdb/common_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quota/crdbqm/common_test.go b/quota/crdbqm/common_test.go index 97e1068c96..028e82867d 100644 --- a/quota/crdbqm/common_test.go +++ b/quota/crdbqm/common_test.go @@ -24,7 +24,7 @@ import ( ) func TestMain(m *testing.M) { - ts, err := testserver.NewTestServer(testserver.CustomVersionOpt("22.2.17"), testserver.StoreOnDiskOpt()) + ts, err := testserver.NewTestServer(testserver.CustomVersionOpt("v22.2.17")) if err != nil { klog.Errorf("Failed to start test server: %v", err) os.Exit(1) diff --git a/storage/crdb/common_test.go b/storage/crdb/common_test.go index 23b4f1ab14..e9185f393b 100644 --- a/storage/crdb/common_test.go +++ b/storage/crdb/common_test.go @@ -43,7 +43,7 @@ func (db *testDBHandle) GetDB() *sql.DB { func TestMain(m *testing.M) { flag.Parse() - ts, err := testserver.NewTestServer(testserver.CustomVersionOpt("22.2.17"), testserver.StoreOnDiskOpt()) + ts, err := testserver.NewTestServer(testserver.CustomVersionOpt("v22.2.17")) if err != nil { klog.Exitf("Failed to start test server: %v", err) }