Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
130052: pkg/sql/logictest: TestLogic_alter_table failed with 10 seconds r=Dedej-Bergin a=Dedej-Bergin

The test assumes schema change will take less than 10 seconds, but it took a bit longer then 10 seconds so in these code changes we are now trying 20 seconds.

Fixes: cockroachdb#129472
Release note: none

Co-authored-by: Bergin Dedej <[email protected]>
  • Loading branch information
craig[bot] and Dedej-Bergin committed Sep 4, 2024
2 parents e80b68d + 6017801 commit 13ac6e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sql/logictest/testdata/logic_test/alter_table
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ statement ok
ALTER TABLE add_default ADD COLUMN d TIMESTAMP DEFAULT transaction_timestamp()

query II rowsort
SELECT a,b FROM add_default WHERE d > c AND d - c < interval '10s'
SELECT a,b FROM add_default WHERE d > c AND d - c < interval '20s'
----
2 42
3 10
Expand Down

0 comments on commit 13ac6e1

Please sign in to comment.