This is an automated email from the ASF dual-hosted git repository. zhuzh pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flink.git
commit 44b941557e131ea03486ba5324232fe7b421a6c4 Author: zhouli <[email protected]> AuthorDate: Mon Jun 20 09:44:04 2022 +0800 [FLINK-28105][Tests] test the copied object in GlobFilePathFilterTest#testGlobFilterSerializable --- .../java/org/apache/flink/api/common/io/GlobFilePathFilterTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flink-core/src/test/java/org/apache/flink/api/common/io/GlobFilePathFilterTest.java b/flink-core/src/test/java/org/apache/flink/api/common/io/GlobFilePathFilterTest.java index ee2491da64c..d9ecb595cf4 100644 --- a/flink-core/src/test/java/org/apache/flink/api/common/io/GlobFilePathFilterTest.java +++ b/flink-core/src/test/java/org/apache/flink/api/common/io/GlobFilePathFilterTest.java @@ -174,8 +174,8 @@ public class GlobFilePathFilterTest { GlobFilePathFilter matcherCopy = CommonTestUtils.createCopySerializable(matcher); - assertThat(matcher.filterPath(new Path("a"))).isFalse(); - assertThat(matcher.filterPath(new Path("a/b"))).isFalse(); - assertThat(matcher.filterPath(new Path("a/b/c"))).isFalse(); + assertThat(matcherCopy.filterPath(new Path("a"))).isFalse(); + assertThat(matcherCopy.filterPath(new Path("a/b"))).isFalse(); + assertThat(matcherCopy.filterPath(new Path("a/b/c"))).isFalse(); } }
