Skip to content

Commit 7dffe55

Browse files
committed
Appease the RBX bugs
1 parent d55d27f commit 7dffe55

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/mysql2/client_spec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ def run_gc
178178
run_gc
179179
client = Mysql2::Client.new(DatabaseCredentials['root'])
180180

181+
# this empty `fork` call fixes this tests on RBX; without it, the next
182+
# `fork` call hangs forever. WTF?
183+
fork { }
184+
181185
fork do
182186
client.query('SELECT 1')
183187
client = nil

0 commit comments

Comments
 (0)