Skip to content

Commit 484540c

Browse files
committed
fix
1 parent 1c924f5 commit 484540c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_concurrency.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def test_ractor_with_pipelining
167167
).new_client
168168
c.pipelined do |pi|
169169
pi.call('get', "key#{i}")
170-
pi.call('get', "key#{i}")
170+
pi.call('echo', 'hi')
171171
end
172172
rescue StandardError => e
173173
e
@@ -176,7 +176,7 @@ def test_ractor_with_pipelining
176176
end
177177
end
178178

179-
ractors.each { |r| assert_equal([WANT, WANT], r.take) }
179+
ractors.each { |r| assert_equal([WANT, 'hi'], r.take) }
180180
end
181181

182182
def test_ractor_with_transaction

0 commit comments

Comments
 (0)