Skip to content

Commit 13d4067

Browse files
committed
Make test faster
1 parent cd47d9b commit 13d4067

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_integration_statement.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,14 +193,14 @@ def test_committing_tx_with_statement_active
193193
end
194194

195195
def test_long_running_statements_get_interrupted_when_statement_timeout_set
196-
@db.statement_timeout = 100
196+
@db.statement_timeout = 10
197197
assert_raises(SQLite3::InterruptException) do
198198
@db.execute <<~SQL
199199
WITH RECURSIVE r(i) AS (
200200
VALUES(0)
201201
UNION ALL
202202
SELECT i FROM r
203-
LIMIT 1000000
203+
LIMIT 100000
204204
)
205205
SELECT i FROM r ORDER BY i LIMIT 1;
206206
SQL

0 commit comments

Comments
 (0)