Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6471

RocksDBStateBackendTest#testCancelRunningSnapshot sometimes fails

    Details

    • Type: Test
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: None
    • Labels:
      None

      Description

      I got the following test failure based on commit f37988c19adc30d324cde83c54f2fa5d36efb9e7 :

      testCancelRunningSnapshot[1](org.apache.flink.contrib.streaming.state.RocksDBStateBackendTest)  Time elapsed: 0.166 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.contrib.streaming.state.RocksDBStateBackendTest.testCancelRunningSnapshot(RocksDBStateBackendTest.java:313)
      
      
      Results :
      
      Failed tests:
        RocksDBStateBackendTest.testCancelRunningSnapshot:313 null
      

      The following assertion fails:

          assertTrue(testStreamFactory.getLastCreatedStream().isClosed());
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                srichter Stefan Richter
                Reporter:
                yuzhihong@gmail.com Ted Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: