From b75d2eeb1e3f060b7c524ea46ca46a710629b47b Mon Sep 17 00:00:00 2001 From: healthy-pod Date: Thu, 1 Sep 2022 11:24:40 -0700 Subject: [PATCH] generate-logictest: add test timeout to BUILD files template In #86363, we added a test.timeout arg to all go_test targets. When generate-logictest runs out of `bazel-generate.sh`, logic tests build files are re-created based on the template that was missing the `test.timeout` arg. This patch updates the template to include a test timeout. Release justification: Non-production code changes Release note: None --- pkg/cmd/generate-logictest/templates.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/cmd/generate-logictest/templates.go b/pkg/cmd/generate-logictest/templates.go index 5a615cf0d4ac..4dd5e1e7b413 100644 --- a/pkg/cmd/generate-logictest/templates.go +++ b/pkg/cmd/generate-logictest/templates.go @@ -249,6 +249,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_test") go_test( name = "{{ .TestRuleName }}_test", size = "enormous", + args = ["-test.timeout=3595s"], srcs = ["generated_test.go"], data = [ "//c-deps:libgeos", # keep{{ if .SqliteLogicTest }}