Skip to content

Commit

Permalink
[FLINK-22312][yarn][test] Fix test instabilities due to expected hear…
Browse files Browse the repository at this point in the history
…tbeat exceptions in log

This closes apache#16127
  • Loading branch information
xintongsong committed Jun 10, 2021
1 parent 410b8c4 commit dd73933
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,11 @@ public abstract class YarnTestBase extends TestLogger {
"org\\.apache\\.flink.util\\.FlinkException: JobManager is shutting down\\."),
Pattern.compile("lost the leadership."),
Pattern.compile(
"akka.remote.transport.netty.NettyTransport.*Remote connection to \\[[^]]+\\] failed with java.io.IOException: Broken pipe")
"akka.remote.transport.netty.NettyTransport.*Remote connection to \\[[^]]+\\] failed with java.io.IOException: Broken pipe"),

// this can happen during cluster shutdown, if AMRMClient happens to be heartbeating
Pattern.compile("Exception on heartbeat"),
Pattern.compile("java\\.io\\.InterruptedIOException: Call interrupted")
};

// Temp directory which is deleted after the unit test.
Expand Down

0 comments on commit dd73933

Please sign in to comment.