diff options
author | Rob Holland <rob@inversepath.com> | 2008-05-11 22:55:18 +0100 |
---|---|---|
committer | Rob Holland <rob@inversepath.com> | 2008-05-11 22:55:18 +0100 |
commit | 511aab6f000f85a4b03b70f841870eff256fbf08 (patch) | |
tree | 8b508f8bbebcabe404f7bd73d6b22ce4ebcec4eb | |
parent | 0a7d337f1bafc5033074802543bd73bc2b831cd8 (diff) | |
download | third_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.rb | 4 |
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 |