From d364c31f0bca700125e53bfed51f094d2311e000 Mon Sep 17 00:00:00 2001 From: Andrew Werner Date: Tue, 16 Aug 2022 09:45:02 -0400 Subject: [PATCH] sql/logictest: attempt to deflake retry errors When we run transactions in logictests, they can be exposed to retry errors. The framework does not have tools to retry whole blocks. In #58217 we added a mechanism to skip tests which hit such errors. Apply that logic here. (hopefully) Fixes #86215 Release note: None --- pkg/sql/logictest/testdata/logic_test/enums | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/sql/logictest/testdata/logic_test/enums b/pkg/sql/logictest/testdata/logic_test/enums index 17dac4cda789..589cca6d527d 100644 --- a/pkg/sql/logictest/testdata/logic_test/enums +++ b/pkg/sql/logictest/testdata/logic_test/enums @@ -1204,6 +1204,8 @@ CREATE TYPE fakedb.typ AS ENUM ('schema') # Test the behavior of dropping a not-null enum colums +skip_on_retry + subtest drop_not_null statement ok