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

Test instability SlotPoolRpcTest.testExtraSlotsAreKept

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.5.0
    • 1.5.0
    • Tests
    • None

    Description

      https://travis-ci.org/GJL/flink/jobs/346206290
       

      Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.784 sec <<< FAILURE! - in org.apache.flink.runtime.jobmaster.slotpool.SlotPoolRpcTest
      testExtraSlotsAreKept(org.apache.flink.runtime.jobmaster.slotpool.SlotPoolRpcTest) Time elapsed: 0.016 sec <<< FAILURE!
      java.lang.AssertionError: expected:<0> but was:<1>
       at org.junit.Assert.fail(Assert.java:88)
       at org.junit.Assert.failNotEquals(Assert.java:834)
       at org.junit.Assert.assertEquals(Assert.java:645)
       at org.junit.Assert.assertEquals(Assert.java:631)
       at org.apache.flink.runtime.jobmaster.slotpool.SlotPoolRpcTest.testExtraSlotsAreKept(SlotPoolRpcTest.java:267)
      

      I reproduced this in IntelliJ by configuring 50 consecutive runs of testExtraSlotsAreKept. On my machine the 8th execution fails sporadically.

      commit: eeac022f0538e0979e6ad4eb06a2d1031cbd0146

      Attachments

        Issue Links

          Activity

            People

              trohrmann Till Rohrmann
              gjy Gary Yao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: