damccorm commented on code in PR #41115:
URL: https://github.com/apache/beam/pull/41115#discussion_r4515311605
##########
runners/flink/src/test/java/org/apache/beam/runners/flink/PortableTimersExecutionTest.java:
##########
@@ -104,14 +104,14 @@ public static void tearDown() throws InterruptedException
{
flinkJobExecutor = null;
}
- @Test(timeout = 120_000)
+ @Test(timeout = 240_000)
public void testTimerExecution() throws Exception {
FlinkPipelineOptions options =
PipelineOptionsFactory.fromArgs("--experiments=beam_fn_api").as(FlinkPipelineOptions.class);
options.setRunner(CrashingRunner.class);
options.setFlinkMaster("[local]");
options.setStreaming(isStreaming);
- options.setParallelism(2);
+ options.setParallelism(1);
Review Comment:
Thanks! Updated `PortableTimersExecutionTest`, `PortableExecutionTest`, and
`ReadSourcePortableTest` in 93f201c41cc to keep `setParallelism(2)` and
`@Test(timeout = 120_000)`, set `setEnvironmentCacheMillis(10_000)`, use unique
job IDs (`UUID.randomUUID()`), and poll
`!JobInvocation.isTerminated(jobInvocation.getState())` with `try / finally {
jobInvocation.cancel(); }`, matching #41037.
--
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]