Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 34397ba

Browse files
mknyszekgopherbot
authored andcommitted
sweet: upgrade cockroachdb to v25.2.0 and re-enable
This is a new release. It looks OK to me locally, so perhaps whatever was ailing us is now gone. I hope. Famous last words but, it's a flaky failure, so I think we might just have to try. Fixes golang/go#73474. Change-Id: I5153f428037813e80c4eefca563f95cbb500938a Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/679755 Reviewed-by: Carlos Amedee <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Michael Knyszek <[email protected]>
1 parent 089ffc4 commit 34397ba

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

sweet/cmd/sweet/benchmark.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,12 @@ var benchmarkGroups = func() map[string][]*benchmark {
105105

106106
m["default"] = []*benchmark{
107107
allBenchmarksMap["bleve-index"],
108+
allBenchmarksMap["cockroachdb"],
108109
allBenchmarksMap["etcd"],
109110
allBenchmarksMap["esbuild"],
110111
allBenchmarksMap["go-build"],
111112
allBenchmarksMap["gopher-lua"],
112113
}
113-
// TODO(go.dev/issue/73474): cockroachdb has a flaky benchmark in the CockroachDB tree
114-
// we can benchmark against (anything including master/6819a3e60849345808aa88932b5f52c43f329979).
115-
// Disable until CockroachDB upstream is fixed.
116-
// m["default"] = append(m["default"], allBenchmarksMap["cockroachdb"])
117-
118114
// TODO(go.dev/issue/72042): gVisor is broken at Go tip as of
119115
// https://go.dev/cl/652276 due to unsafe dependence on field offsets.
120116
// Disable until gVisor upstream is fixed.

sweet/harnesses/cockroachdb.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,13 @@ func (h CockroachDB) CheckPrerequisites() error {
2828
}
2929

3030
func (h CockroachDB) Get(gcfg *common.GetConfig) error {
31-
// Build against a commit that includes https://github.com/cockroachdb/cockroach/pull/125588.
3231
// Recursive clone the repo as we need certain submodules, i.e.
3332
// PROJ, for the build to work.
3433
return gitRecursiveCloneToCommit(
3534
gcfg.SrcDir,
3635
"https://github.com/cockroachdb/cockroach",
3736
"master",
38-
"c4a0d997e0da6ba3ebede61b791607aa452b9bbc",
37+
"de6ca871fb4b0536d308d6468ab1f57a0fe83cee", // v25.2.0
3938
)
4039
}
4140

0 commit comments

Comments
 (0)