Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-943

Occasional test failure: TestStreamPartitionCountMonitor.testStartStopBehavior

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.1
    • 0.10.1
    • None
    • None

    Description

      I've seen the following test failure a couple times while running check-all.sh. The test has only failed with Java 8 so far, but I'm not sure if that's always going to be true.

      The test should be more reliable.

      :samza-core_2.10:test

      testStartStopBehavior FAILED
      java.lang.AssertionError:
      at org.junit.Assert.fail(Assert.java:91)
      at org.junit.Assert.assertTrue(Assert.java:43)
      at org.junit.Assert.assertFalse(Assert.java:68)
      at org.junit.Assert.assertFalse(Assert.java:79)
      at org.apache.samza.coordinator.TestStreamPartitionCountMonitor.testStartStopBehavior(TestStreamPartitionCountMonitor.scala:106)

      206 tests completed, 1 failed, 1 skipped
      :samza-core_2.10:test FAILED

      Attachments

        1. SAMZA-943_1.patch
          22 kB
          Jake Maes
        2. SAMZA-943_2.patch
          22 kB
          Jake Maes
        3. SAMZA-943_3.patch
          22 kB
          Jake Maes

        Activity

          People

            jmakes Jake Maes
            jmakes Jake Maes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: