File tree Expand file tree Collapse file tree
trunk/google-cloud-pubsub/src/test/java/com/google/cloud/pubsub Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
2- refs/heads/master: 994479fc57933fbf96b2cf24709c29cf3111d430
2+ refs/heads/master: c206efeb0dcebd87bc712e1a23b53eec3a2ed301
33refs/heads/travis: dae77e558b884bc1b165155482d76c8e40b0fca4
44refs/heads/gh-pages: 229631582f8957646f81e92ae5a326504f48ee5b
55refs/tags/0.0.9: 22f1839238f66c39e67ed4dfdcd273b1ae2e8444
Original file line number Diff line number Diff line change @@ -264,6 +264,7 @@ public void modifyAckDeadline(
264264 public void sendError (Throwable error ) throws InterruptedException {
265265 waitForRegistedSubscription ();
266266 synchronized (openedStreams ) {
267+ waitForOpenedStreams (1 );
267268 Stream stream = openedStreams .get (getAndAdvanceCurrentStream ());
268269 stream .responseObserver .onError (error );
269270 closeStream (stream );
You can’t perform that action at this time.
0 commit comments