Skip to content

Commit

Permalink
sql/logictest: attempt to deflake retry errors
Browse files Browse the repository at this point in the history
When we run transactions in logictests, they can be exposed to retry errors.
The framework does not have tools to retry whole blocks. In cockroachdb#58217 we added
a mechanism to skip tests which hit such errors. Apply that logic here.

(hopefully)
Fixes cockroachdb#86215

Release note: None
  • Loading branch information
ajwerner committed Aug 16, 2022
1 parent 55e0f99 commit d364c31
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/sql/logictest/testdata/logic_test/enums
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d364c31

Please sign in to comment.