Skip to content

Commit

Permalink
Update crdb testserver version to latest format
Browse files Browse the repository at this point in the history
  • Loading branch information
roger2hk committed Jan 21, 2024
1 parent a7c51f3 commit ec6491f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion quota/crdbqm/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion storage/crdb/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit ec6491f

Please sign in to comment.