Skip to content

Commit

Permalink
sql: deflake test with statement_timeout
Browse files Browse the repository at this point in the history
I saw a CI failure in this test, caused by the `SHOW` statement itself
hitting the 100ms timeout. This points to something being unreasonably
slow on the agent; but it is easy enough to increase this arbitrary
value.

Release note: None
  • Loading branch information
RaduBerinde committed Apr 8, 2021
1 parent 30ae6b9 commit 06ab165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/sql/logictest/testdata/logic_test/set
Original file line number Diff line number Diff line change
Expand Up @@ -292,12 +292,12 @@ SET statement_timeout = '0ms'
# Test that statement_timeout can be set with an interval string, defaulting to
# milliseconds as a unit.
statement ok
SET statement_timeout = '100'
SET statement_timeout = '10000'

query T
SHOW statement_timeout
----
100
10000

# Set the statement timeout to something absurdly small, so that no query would
# presumably be able to go through. It should still be possible to get out of
Expand Down

0 comments on commit 06ab165

Please sign in to comment.