Skip to content

Commit

Permalink
sql: fix flaky test
Browse files Browse the repository at this point in the history
Which row fails the validation in this test is nondeterministic due to
DistSQL. Remove the specificity.

Introduced by cockroachdb#64003
  • Loading branch information
jordanlewis committed Apr 24, 2021
1 parent 72598c0 commit 80b08d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sql/logictest/testdata/logic_test/schema_change_in_txn
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ ALTER TABLE check_table ADD CHECK (a >= 0)
statement ok
ALTER TABLE check_table ADD CHECK (a < 0)

statement error pgcode XXA00 validation of CHECK \"a < 0:::INT8\" failed on row: k=0, a=0
statement error pgcode XXA00 validation of CHECK \"a < 0:::INT8\" failed on row
COMMIT

query TTTTB
Expand Down

0 comments on commit 80b08d1

Please sign in to comment.