We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e84b777 commit a8d1715Copy full SHA for a8d1715
test/test_integration_pending.rb
@@ -129,9 +129,6 @@ def test_busy_timeout_blocks_gvl
129
begin
130
db2 = SQLite3::Database.open( "test.db" )
131
db2.busy_timeout 1000
132
- # db2.busy_handler do |count|
133
- # sleep 0.001
134
- # end
135
db2.transaction( :exclusive ) do
136
sleep 0.01
137
end
@@ -144,7 +141,7 @@ def test_busy_timeout_blocks_gvl
144
141
[t1, t2].each(&:join)
145
142
146
143
147
- assert time.real >= 1
+ assert_operator time.real, :>=, 1
148
149
150
def test_busy_handler_timeout_releases_gvl
@@ -175,6 +172,6 @@ def test_busy_handler_timeout_releases_gvl
175
172
176
173
177
174
178
- assert time.real < 1
+ assert_operator time.real, :<, 1
179
180
0 commit comments