This is an automated email from the ASF dual-hosted git repository.
trohrmann pushed a commit to branch release-1.12
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.12 by this push:
new 1a29a7f [FLINK-19725][runtime] Increased the timeout for the
instantiation of the akka logger.
1a29a7f is described below
commit 1a29a7f5b955f27b24b722b0ae6725f458ab091d
Author: Matthias Pohl <[email protected]>
AuthorDate: Wed Dec 2 17:20:40 2020 +0100
[FLINK-19725][runtime] Increased the timeout for the instantiation of the
akka logger.
Occasionally, we had failing builds due to the Slf4Logger not being
instantiated in time. The default setting is 5s which might be too low in cases
where the VM the tests are running on is not processing fast enough to have the
logger instantiated. For now, we're gonna try to work around it by increasing
the timeout limit to 30s.
This closes #14290.
---
.../src/main/scala/org/apache/flink/runtime/akka/AkkaUtils.scala | 1 +
.../test/scala/org/apache/flink/runtime/testingUtils/TestingUtils.scala | 1 +
2 files changed, 2 insertions(+)
diff --git
a/flink-runtime/src/main/scala/org/apache/flink/runtime/akka/AkkaUtils.scala
b/flink-runtime/src/main/scala/org/apache/flink/runtime/akka/AkkaUtils.scala
index ea3b4bf..eb96729 100755
--- a/flink-runtime/src/main/scala/org/apache/flink/runtime/akka/AkkaUtils.scala
+++ b/flink-runtime/src/main/scala/org/apache/flink/runtime/akka/AkkaUtils.scala
@@ -284,6 +284,7 @@ object AkkaUtils {
| loggers = ["akka.event.slf4j.Slf4jLogger"]
| logging-filter = "akka.event.slf4j.Slf4jLoggingFilter"
| log-config-on-start = off
+ | logger-startup-timeout = 30s
|
| jvm-exit-on-fatal-error = $jvmExitOnFatalError
|
diff --git
a/flink-runtime/src/test/scala/org/apache/flink/runtime/testingUtils/TestingUtils.scala
b/flink-runtime/src/test/scala/org/apache/flink/runtime/testingUtils/TestingUtils.scala
index 93aebcf..61e1c07 100644
---
a/flink-runtime/src/test/scala/org/apache/flink/runtime/testingUtils/TestingUtils.scala
+++
b/flink-runtime/src/test/scala/org/apache/flink/runtime/testingUtils/TestingUtils.scala
@@ -59,6 +59,7 @@ object TestingUtils {
|akka.stdout-loglevel = OFF
|akka.jvm-exit-on-fatal-error = off
|akka.log-config-on-start = off
+ |akka.logger-startup-timeout = 30s
""".stripMargin
}