aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/end2end/killed_client_thread_client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'src/ruby/end2end/killed_client_thread_client.rb')
-rwxr-xr-xsrc/ruby/end2end/killed_client_thread_client.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ruby/end2end/killed_client_thread_client.rb b/src/ruby/end2end/killed_client_thread_client.rb
index 9a69161736..d5a7db7d58 100755
--- a/src/ruby/end2end/killed_client_thread_client.rb
+++ b/src/ruby/end2end/killed_client_thread_client.rb
@@ -29,6 +29,9 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Attempt to reproduce
+# https://github.com/GoogleCloudPlatform/google-cloud-ruby/issues/1327
+
require_relative './end2end_common'
def main
@@ -46,7 +49,7 @@ def main
stub = Echo::EchoServer::Stub.new("localhost:#{server_port}",
:this_channel_is_insecure)
stub.echo(Echo::EchoRequest.new(request: 'hello'))
- raise 'the clients rpc in this test shouldnt complete. ' \
+ fail 'the clients rpc in this test shouldnt complete. ' \
'expecting SIGINT to happen in the middle of the call'
end
thd.join