You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by yh...@apache.org on 2026/04/06 21:23:08 UTC
(beam) branch master updated: Fix GrpcLoggingServiceTest hang on client error (#38082)
This is an automated email from the ASF dual-hosted git repository.
yhu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 28a0cb14ebd Fix GrpcLoggingServiceTest hang on client error (#38082)
28a0cb14ebd is described below
commit 28a0cb14ebd018e3550637ded153569d49e66f66
Author: Abdelrahman Ibrahim <ab...@gmail.com>
AuthorDate: Mon Apr 6 23:23:00 2026 +0200
Fix GrpcLoggingServiceTest hang on client error (#38082)
---
.../apache/beam/runners/fnexecution/logging/GrpcLoggingServiceTest.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/runners/java-fn-execution/src/test/java/org/apache/beam/runners/fnexecution/logging/GrpcLoggingServiceTest.java b/runners/java-fn-execution/src/test/java/org/apache/beam/runners/fnexecution/logging/GrpcLoggingServiceTest.java
index 02e500f3e85..40ff55afbc6 100644
--- a/runners/java-fn-execution/src/test/java/org/apache/beam/runners/fnexecution/logging/GrpcLoggingServiceTest.java
+++ b/runners/java-fn-execution/src/test/java/org/apache/beam/runners/fnexecution/logging/GrpcLoggingServiceTest.java
@@ -117,6 +117,7 @@ public class GrpcLoggingServiceTest {
BeamFnLoggingGrpc.newStub(channel)
.logging(
TestStreams.withOnNext(messageDiscarder)
+ .withOnCompleted(new CountDown(waitForTermination))
.withOnError(new CountDown(waitForTermination))
.build());
outboundObserver.onNext(createLogsWithIds(instructionId, -instructionId));