Skip to content

Commit

Permalink
Revert crdb testserver from 22.2.17 to 22.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
roger2hk committed Jan 21, 2024
1 parent ec6491f commit a93a374
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion integration/cloudbuild/testbase/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN apt-get update && apt-get install -y \
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.1

# Install CockroachDB, see https://www.cockroachlabs.com/docs/v22.2/install-cockroachdb-linux
RUN curl https://binaries.cockroachdb.com/cockroach-v22.2.17.linux-amd64.tgz | tar -xz && cp -i cockroach-v22.2.17.linux-amd64/cockroach /usr/local/bin/
RUN curl https://binaries.cockroachdb.com/cockroach-v22.2.7.linux-amd64.tgz | tar -xz && cp -i cockroach-v22.2.7.linux-amd64/cockroach /usr/local/bin/

RUN mkdir protoc && \
(cd protoc && \
Expand Down
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("v22.2.17"))
ts, err := testserver.NewTestServer(testserver.CustomVersionOpt("v22.2.7"))
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("v22.2.17"))
ts, err := testserver.NewTestServer(testserver.CustomVersionOpt("v22.2.7"))
if err != nil {
klog.Exitf("Failed to start test server: %v", err)
}
Expand Down

0 comments on commit a93a374

Please sign in to comment.