Abacn commented on code in PR #29894:
URL: https://github.com/apache/beam/pull/29894#discussion_r1440698677
##########
runners/java-fn-execution/src/test/java/org/apache/beam/runners/fnexecution/EmbeddedSdkHarness.java:
##########
@@ -37,15 +37,18 @@
import org.apache.beam.sdk.fn.stream.OutboundObserverFactory;
import org.apache.beam.sdk.options.PipelineOptionsFactory;
import
org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.util.concurrent.ThreadFactoryBuilder;
+import org.junit.Rule;
import org.junit.rules.ExternalResource;
import org.junit.rules.TestRule;
+import org.junit.rules.Timeout;
/**
* A {@link TestRule} which creates a {@link FnHarness} in a thread, services
required for that
* {@link FnHarness} to properly execute, and provides access to the
associated client and harness
* during test execution.
*/
public class EmbeddedSdkHarness extends ExternalResource implements TestRule {
+ @Rule public transient Timeout globalTimeout = Timeout.seconds(600);
Review Comment:
> e.g. do we know which test should be timing out?
We do not know and that is the obstacle for investigation. When the workflow
timeout it stops half way and all-but-the-timed-out task reports the test
result. That's why I was able to find it is runners:java-fn-execution:test
timing out but not able to find which test is timing out
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]