Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix connection_pool spec

  • Loading branch information...
commit 35cfa4b82d919ba335754c414ff6003c1cbdf448 1 parent 1bdfce9
@igrigorik authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 spec/connection_pool_spec.rb
View
8 spec/connection_pool_spec.rb
@@ -9,7 +9,7 @@
EventMachine.run do
db = EventMachine::Synchrony::ConnectionPool.new(size: 1) do
- EventMachine::MySQL.new(host: "localhost")
+ Mysql2::EM::Client.new
end
Fiber.new {
@@ -33,7 +33,7 @@
EventMachine.run do
db = EventMachine::Synchrony::ConnectionPool.new(size: 2) do
- EventMachine::MySQL.new(host: "localhost")
+ Mysql2::EM::Client.new
end
Fiber.new {
@@ -57,7 +57,7 @@
EventMachine.run do
db = EventMachine::Synchrony::ConnectionPool.new(size: 2) do
- EventMachine::MySQL.new(host: "localhost")
+ Mysql2::EM::Client.new
end
Fiber.new {
@@ -88,7 +88,7 @@
EventMachine.run do
db = EventMachine::Synchrony::ConnectionPool.new(size: 5) do
- EventMachine::MySQL.new(host: "localhost")
+ Mysql2::EM::Client.new
end
Fiber.new {
Please sign in to comment.
Something went wrong with that request. Please try again.