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
134
134
135
135
def test_ractor
136
136
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
137
138
138
139
ractors = Array . new ( MAX_THREADS ) do |i |
139
140
Ractor . new ( i ) do |i |
@@ -155,6 +156,7 @@ def test_ractor
155
156
156
157
def test_ractor_with_pipelining
157
158
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
158
160
159
161
ractors = Array . new ( MAX_THREADS ) do |i |
160
162
Ractor . new ( i ) do |i |
@@ -179,6 +181,7 @@ def test_ractor_with_pipelining
179
181
180
182
def test_ractor_with_transaction
181
183
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
182
185
183
186
ractors = Array . new ( MAX_THREADS ) do |i |
184
187
Ractor . new ( i ) do |i |
You can’t perform that action at this time.
0 commit comments