You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tr...@apache.org on 2019/10/11 16:34:06 UTC

[flink] branch release-1.9 updated: [FLINK-14347][test] Filter out expected exception string in YARN tests

This is an automated email from the ASF dual-hosted git repository.

trohrmann pushed a commit to branch release-1.9
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.9 by this push:
     new 01c97d5  [FLINK-14347][test] Filter out expected exception string in YARN tests
01c97d5 is described below

commit 01c97d56deffdfdd27f2f3e7fcdf734fd166257d
Author: tison <wa...@gmail.com>
AuthorDate: Fri Oct 11 10:10:43 2019 +0800

    [FLINK-14347][test] Filter out expected exception string in YARN tests
    
    This closes #9880.
---
 flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java b/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java
index 42e3b43..7ac9b25 100644
--- a/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java
+++ b/flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java
@@ -126,6 +126,9 @@ public abstract class YarnTestBase extends TestLogger {
 		"Remote connection to [null] failed with java.nio.channels.NotYetConnectedException",
 		"java.io.IOException: Connection reset by peer",
 
+		// filter out expected ResourceManagerException caused by intended shutdown request
+		YarnResourceManager.ERROR_MASSAGE_ON_SHUTDOWN_REQUEST,
+
 		// this can happen in Akka 2.4 on shutdown.
 		"java.util.concurrent.RejectedExecutionException: Worker has already been shutdown",