Skip to content

Commit

Permalink
Merge #116821
Browse files Browse the repository at this point in the history
116821: logictestccl: skip 3node-tenant under race r=yuzefovich a=yuzefovich

3node-tenant config is quite CPU intensive, and we have seen a handful of failures under race on different files where the only symptom appears to be the environment overload. For context, we now run race tests via the engflow large pool where we get 2 CPU machine which appears to be insufficient for 3node-tenant, so this commit skips this config under race unconditionally (previously, we skipped only a couple of most expensive files).

Fixes: #116760.
Fixes: #116761.
Fixes: #116763.
Fixes: #116764.

Note that these issues are a bit different than others, but I think it has the same underlying cause - the overload.

Fixes: #115976.
Fixes: #116755.

Release note: None

Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>
  • Loading branch information
craig[bot] and yuzefovich committed Dec 20, 2023
2 parents 1cb6120 + 0dc180f commit 1bda401
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions pkg/ccl/logictestccl/tests/3node-tenant/generated_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions pkg/cmd/generate-logictest/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ const templateText = `
{{- define "runLogicTest" }}
{{- if .LogicTest -}}
func runLogicTest(t *testing.T, file string) {
{{ if .Is3NodeTenant }}if file == "fk" || file == "alter_primary_key" {
skip.UnderRace(t, "times out and/or OOM's")
}
{{ if .Is3NodeTenant }}skip.UnderRace(t, "large engflow executor is overloaded by 3node-tenant config")
{{ end }}skip.UnderDeadlock(t, "times out and/or hangs")
logictest.RunLogicTest(t, logictest.TestServerArgs{}, configIdx, filepath.Join(logicTestDir, file))
}
Expand Down

0 comments on commit 1bda401

Please sign in to comment.