From 63c1cf11c8fb7cf0d02a3f0306535bb78b2c993f Mon Sep 17 00:00:00 2001 From: Faizan Qazi Date: Fri, 25 Aug 2023 03:49:58 +0000 Subject: [PATCH] release-23.1: sql/tests: fix test size of random syntax generation Previously, the test size of the RSG tests within the nightly environment was not configured correctly. While the nightly script sets a timeout its overwritten by the value from the bazel files. As a result the TestRandomSyntaxFunction fails in CI environments when run using the nightly scripts. To address this, this patch bumps the test size to enormous. Fixes: #109068 Release note: None --- pkg/sql/tests/BUILD.bazel | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/sql/tests/BUILD.bazel b/pkg/sql/tests/BUILD.bazel index cb84fab48982..60b337c924df 100644 --- a/pkg/sql/tests/BUILD.bazel +++ b/pkg/sql/tests/BUILD.bazel @@ -25,7 +25,7 @@ go_library( go_test( name = "tests_test", - size = "large", + size = "enormous", srcs = [ "allow_role_memberships_to_change_during_transaction_test.go", "autocommit_extended_protocol_test.go", @@ -51,7 +51,7 @@ go_test( "truncate_test.go", "virtual_table_test.go", ], - args = ["-test.timeout=895s"], + args = ["-test.timeout=3595s"], data = glob(["testdata/**"]), embed = [":tests"], shard_count = 16,