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 2025/03/06 15:03:34 UTC
(beam) branch master updated: Fix failing test: Increase timeout (#34181)
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 9303e3ead19 Fix failing test: Increase timeout (#34181)
9303e3ead19 is described below
commit 9303e3ead19c90562f825e714220841ddb7e187d
Author: Vitaly Terentyev <vi...@akvelon.com>
AuthorDate: Thu Mar 6 19:03:28 2025 +0400
Fix failing test: Increase timeout (#34181)
* Increase timeout for test
* Decrease num futures in test
---
.../streaming/io/source/unbounded/FlinkUnboundedSourceReaderTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/runners/flink/src/test/java/org/apache/beam/runners/flink/translation/wrappers/streaming/io/source/unbounded/FlinkUnboundedSourceReaderTest.java b/runners/flink/src/test/java/org/apache/beam/runners/flink/translation/wrappers/streaming/io/source/unbounded/FlinkUnboundedSourceReaderTest.java
index 94bd544447f..26dd753df0e 100644
--- a/runners/flink/src/test/java/org/apache/beam/runners/flink/translation/wrappers/streaming/io/source/unbounded/FlinkUnboundedSourceReaderTest.java
+++ b/runners/flink/src/test/java/org/apache/beam/runners/flink/translation/wrappers/streaming/io/source/unbounded/FlinkUnboundedSourceReaderTest.java
@@ -92,9 +92,9 @@ public class FlinkUnboundedSourceReaderTest
* This is a concurrency correctness test. It verifies that the main thread is always waken up by
* the alarm runner executed in the executor thread.
*/
- @Test(timeout = 30000L)
+ @Test(timeout = 60000L)
public void testIsAvailableAlwaysWakenUp() throws Exception {
- final int numFuturesRequired = 1_000_000;
+ final int numFuturesRequired = 1_000;
List<CompletableFuture<Void>> futures = new ArrayList<>();
AtomicReference<Exception> exceptionRef = new AtomicReference<>();