File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ def test_threading_with_transaction
134134
135135 def test_ractor
136136 skip ( 'Ractor is not available' ) unless Object . const_defined? ( :Ractor , false )
137+ skip ( 'hiredis driver is not safe for Ractor' ) if ::RedisClient . default_driver == :hiredis
137138
138139 ractors = Array . new ( MAX_THREADS ) do |i |
139140 Ractor . new ( i ) do |i |
@@ -155,6 +156,7 @@ def test_ractor
155156
156157 def test_ractor_with_pipelining
157158 skip ( 'Ractor is not available' ) unless Object . const_defined? ( :Ractor , false )
159+ skip ( 'hiredis driver is not safe for Ractor' ) if ::RedisClient . default_driver == :hiredis
158160
159161 ractors = Array . new ( MAX_THREADS ) do |i |
160162 Ractor . new ( i ) do |i |
@@ -179,6 +181,7 @@ def test_ractor_with_pipelining
179181
180182 def test_ractor_with_transaction
181183 skip ( 'Ractor is not available' ) unless Object . const_defined? ( :Ractor , false )
184+ skip ( 'hiredis driver is not safe for Ractor' ) if ::RedisClient . default_driver == :hiredis
182185
183186 ractors = Array . new ( MAX_THREADS ) do |i |
184187 Ractor . new ( i ) do |i |
You can’t perform that action at this time.
0 commit comments