summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Holland <rob@inversepath.com>2008-05-11 22:55:18 +0100
committerRob Holland <rob@inversepath.com>2008-05-11 22:55:18 +0100
commit511aab6f000f85a4b03b70f841870eff256fbf08 (patch)
tree8b508f8bbebcabe404f7bd73d6b22ce4ebcec4eb
parent0a7d337f1bafc5033074802543bd73bc2b831cd8 (diff)
downloadthird_party-sqlite3-ruby-511aab6f000f85a4b03b70f841870eff256fbf08.tar.gz
third_party-sqlite3-ruby-511aab6f000f85a4b03b70f841870eff256fbf08.tar.xz
third_party-sqlite3-ruby-511aab6f000f85a4b03b70f841870eff256fbf08.zip
Up the busy_timeout test time so that systems on which SQLite has reverted to using sleep instead of usleep can still pass the tests.
-rw-r--r--test/tc_integration.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tc_integration.rb b/test/tc_integration.rb
index a9a569a..cacaee7 100644
--- a/test/tc_integration.rb
+++ b/test/tc_integration.rb
@@ -581,7 +581,7 @@ module Integration
end
define_method( "test_busy_timeout" ) do
- @db.busy_timeout 300
+ @db.busy_timeout 1000
busy = Mutex.new
busy.lock
@@ -605,7 +605,7 @@ module Integration
busy.unlock
t.join
- assert time.real*1000 >= 300
+ assert time.real*1000 >= 1000
end
define_method( "test_create_function" ) do