Skip to content

Commit

Permalink
generate-logic-test: fix incorrect timeout in logictests template
Browse files Browse the repository at this point in the history
In #102719, we changed the way we set `-test.timeout` but didn't
update the logictests template. This code change updates the
template.

Release note: None
Epic: none
  • Loading branch information
healthy-pod committed May 11, 2023
1 parent 0c00e43 commit dcab435
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/cmd/generate-logictest/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,10 @@ go_test(
size = "enormous",
srcs = ["generated_test.go"],{{ if .SqliteLogicTest }}
args = ["-test.timeout=7195s"],{{ else }}
args = ["-test.timeout=3595s"],{{ end }}
args = select({
"//build/toolchains:use_ci_timeouts": ["-test.timeout=895s"],
"//conditions:default": ["-test.timeout=3595s"],
}),{{ end }}
data = [
"//c-deps:libgeos", # keep{{ if .SqliteLogicTest }}
"@com_github_cockroachdb_sqllogictest//:testfiles", # keep{{ end }}{{ if .CockroachGoTestserverTest }}
Expand Down

0 comments on commit dcab435

Please sign in to comment.