zentol commented on a change in pull request #13439:
URL: https://github.com/apache/flink/pull/13439#discussion_r496570327



##########
File path: 
flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java
##########
@@ -123,26 +124,26 @@
        };
 
        /** These strings are white-listed, overriding the prohibited strings. 
*/
-       protected static final String[] WHITELISTED_STRINGS = {
-               "akka.remote.RemoteTransportExceptionNoStackTrace",
+       protected static final Pattern[] WHITELISTED_STRINGS = {
+               
Pattern.compile("akka\\.remote\\.RemoteTransportExceptionNoStackTrace"),

Review comment:
       nit: In practice `\\.` is probably not necessary here; chances are slim 
that another message would manage to match the pattern. You could also pass the 
`LITERAL` flag for all but the akka message.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to