kisimple opened a new pull request #7192: [hotfix][test][streaming] Fix a test failure in Windows 7 environment. URL: https://github.com/apache/flink/pull/7192 Running org.apache.flink.streaming.api.functions.sink.filesystem.BucketStateSerializerTest Tests run: 4, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.294 sec <<< FAILURE! - in org.apache.flink.streaming.api.functions.sink.filesystem.BucketStateSerializerTest testSerializationOnlyInProgress(org.apache.flink.streaming.api.functions.sink.filesystem.BucketStateSerializerTest) Time elapsed: 0.087 sec <<< FAILURE! java.lang.AssertionError: null at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.assertTrue(Assert.java:41) at org.junit.Assert.assertTrue(Assert.java:52) at org.apache.flink.streaming.api.functions.sink.filesystem.BucketStateSerializerTest.testSerializationOnlyInProgress(BucketStateSerializerTest.java:116) testSerializationNullInProgress(org.apache.flink.streaming.api.functions.sink.filesystem.BucketStateSerializerTest) Time elapsed: 0.07 sec <<< FAILURE! java.lang.AssertionError: null at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.assertTrue(Assert.java:41) at org.junit.Assert.assertTrue(Assert.java:52) at org.apache.flink.streaming.api.functions.sink.filesystem.BucketStateSerializerTest.testSerializationNullInProgress(BucketStateSerializerTest.java:262) testSerializationFull(org.apache.flink.streaming.api.functions.sink.filesystem.BucketStateSerializerTest) Time elapsed: 0.052 sec <<< FAILURE! java.lang.AssertionError: null at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.assertTrue(Assert.java:41) at org.junit.Assert.assertTrue(Assert.java:52) at org.apache.flink.streaming.api.functions.sink.filesystem.BucketStateSerializerTest.testSerializationFull(BucketStateSerializerTest.java:188) Results : Failed tests: BucketStateSerializerTest.testSerializationFull:188 null BucketStateSerializerTest.testSerializationNullInProgress:262 null BucketStateSerializerTest.testSerializationOnlyInProgress:116 null ------------------------------------------------------- Path#toString is not equal to Path#getPath in Windows env which is the cause of the failure. Path#toString=C:/Users/xxx/junit8367621191438463907/.test.inprogress Path#getPath=/C:/Users/xxx/junit8367621191438463907/.test.inprogress
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
