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 06e9af1 commit e657969Copy full SHA for e657969
spec/mysql2/client_spec.rb
@@ -117,7 +117,8 @@ def connect *args
117
118
GC.start
119
final_count = client.query("SHOW STATUS LIKE 'Threads_connected'").first['Value'].to_i
120
- final_count.should == before_count
+ final_count.should == before_count if !defined? Rubinius
121
+ final_count.should < before_count + 5 if defined? Rubinius # Cut GC some slack
122
end
123
124
it "should be able to connect to database with numeric-only name" do
0 commit comments