Skip to content

Commit

Permalink
sql: increase statement_timeout in sequences logictest
Browse files Browse the repository at this point in the history
Previously the statement timeout in a logic test was set to 1ms, which
was sometimes not enough to complete resetting the statement timeout
after the test, causing it to flake. This PR increases the timeout
from 1ms to 10ms so that we don't flake on the cleanup.

Release note: None
  • Loading branch information
arulajmani committed Sep 14, 2020
1 parent 0ecbca1 commit d6aa6b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sql/logictest/testdata/logic_test/sequences
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ DROP SEQUENCE sv
subtest generator_timeout

statement ok
SET statement_timeout = 1
SET statement_timeout = 10

statement error pq: query execution canceled due to statement timeout
select * from generate_series(1,10000000) where generate_series = 0;
Expand Down

0 comments on commit d6aa6b6

Please sign in to comment.