You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by zh...@apache.org on 2020/08/10 15:02:57 UTC
[flink] branch release-1.10 updated: [FLINK-18859][tests] Increase
timeout of
ExecutionGraphNotEnoughResourceTest#testRestartWithSlotSharingAndNotEnoughResources
to make it more stable
This is an automated email from the ASF dual-hosted git repository.
zhuzh pushed a commit to branch release-1.10
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.10 by this push:
new fafee5e [FLINK-18859][tests] Increase timeout of ExecutionGraphNotEnoughResourceTest#testRestartWithSlotSharingAndNotEnoughResources to make it more stable
fafee5e is described below
commit fafee5ef94f7e3ed92788b6b8b748bb729c939f5
Author: Zhu Zhu <re...@gmail.com>
AuthorDate: Mon Aug 10 16:56:13 2020 +0800
[FLINK-18859][tests] Increase timeout of ExecutionGraphNotEnoughResourceTest#testRestartWithSlotSharingAndNotEnoughResources to make it more stable
---
.../runtime/executiongraph/ExecutionGraphNotEnoughResourceTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/executiongraph/ExecutionGraphNotEnoughResourceTest.java b/flink-runtime/src/test/java/org/apache/flink/runtime/executiongraph/ExecutionGraphNotEnoughResourceTest.java
index 49288ce..fa8728c 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/executiongraph/ExecutionGraphNotEnoughResourceTest.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/executiongraph/ExecutionGraphNotEnoughResourceTest.java
@@ -129,7 +129,7 @@ public class ExecutionGraphNotEnoughResourceTest extends TestLogger {
CommonTestUtils.waitUntilCondition(
() -> CompletableFuture.supplyAsync(eg::getState, mainThreadExecutor).join() == JobStatus.FAILED,
- Deadline.fromNow(Duration.ofMillis(2000)));
+ Deadline.fromNow(Duration.ofSeconds(10)));
// the last suppressed restart is also counted
assertEquals(numRestarts + 1, CompletableFuture.supplyAsync(eg::getNumberOfRestarts, mainThreadExecutor).join().longValue());