aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/end2end
diff options
context:
space:
mode:
authorGravatar Alexander Polcyn <apolcyn@google.com>2017-05-17 10:05:39 -0700
committerGravatar Alexander Polcyn <apolcyn@google.com>2017-05-17 10:05:39 -0700
commit916893b618d602fef2ec1dbf9821611f67a7a1d3 (patch)
tree1817bd9cd1471ea32202e0f5a9aa0c4f4260267f /src/ruby/end2end
parentfd4cbb70774a943a790459c8ec54d8bb112a3ef2 (diff)
fix up the test
Diffstat (limited to 'src/ruby/end2end')
-rwxr-xr-xsrc/ruby/end2end/grpc_class_init_client.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ruby/end2end/grpc_class_init_client.rb b/src/ruby/end2end/grpc_class_init_client.rb
index d9c23c3835..464c42d07a 100755
--- a/src/ruby/end2end/grpc_class_init_client.rb
+++ b/src/ruby/end2end/grpc_class_init_client.rb
@@ -61,16 +61,15 @@ def run_gc_stress_test(test_proc)
end
def run_concurrency_stress_test(test_proc)
- test_proc.call
-
- thds = []
100.times do
- thds << Thread.new do
+ Thread.new do
test_proc.call
end
end
- raise "something"
+ test_proc.call
+
+ raise 'exception thrown while child thread initing class'
end
# default (no gc_stress and no concurrency_stress)