From 2ae908c512eeb1e5524561d9f6dff08e60db1452 Mon Sep 17 00:00:00 2001 From: Brian Lopez Date: Mon, 27 Sep 2010 13:25:10 -0700 Subject: [PATCH] make sure we don't hit a race condition if this EM spec is taking longer to run than normal --- spec/em/em_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/em/em_spec.rb b/spec/em/em_spec.rb index ac4f65b..2213cff 100644 --- a/spec/em/em_spec.rb +++ b/spec/em/em_spec.rb @@ -7,7 +7,7 @@ describe Mysql2::EM::Client do results = [] EM.run do client1 = Mysql2::EM::Client.new - defer1 = client1.query "SELECT sleep(0.05) as first_query" + defer1 = client1.query "SELECT sleep(0.1) as first_query" defer1.callback do |result| results << result.first EM.stop_event_loop