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

Flaky test: Multiple tests in TestLocalStoreMonitor

    XMLWordPrintableJSON

Details

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

    Description

      Failed locally on my laptop (OS X).
      At commit 35a5cd9ad210a3246eff530b5d74145225cbe5d2.

      :samza-rest:test
      
      shouldDeleteTaskStoreWhenTaskPreferredStoreIsNotLocalHost FAILED
          junit.framework.AssertionFailedError: expected:<1> but was:<2>
              at junit.framework.Assert.fail(Assert.java:57)
              at junit.framework.Assert.failNotEquals(Assert.java:329)
              at junit.framework.Assert.assertEquals(Assert.java:78)
              at junit.framework.Assert.assertEquals(Assert.java:159)
              at junit.framework.Assert.assertEquals(Assert.java:166)
              at junit.framework.TestCase.assertEquals(TestCase.java:324)
              at org.apache.samza.monitor.TestLocalStoreMonitor.shouldDeleteTaskStoreWhenTaskPreferredStoreIsNotLocalHost(TestLocalStoreMonitor.java:159)
      
      shouldDeleteLocalTaskStoreWhenItHasNoOffsetFile FAILED
          junit.framework.AssertionFailedError: expected:<1> but was:<2>
              at junit.framework.Assert.fail(Assert.java:57)
              at junit.framework.Assert.failNotEquals(Assert.java:329)
              at junit.framework.Assert.assertEquals(Assert.java:78)
              at junit.framework.Assert.assertEquals(Assert.java:159)
              at junit.framework.Assert.assertEquals(Assert.java:166)
              at junit.framework.TestCase.assertEquals(TestCase.java:324)
              at org.apache.samza.monitor.TestLocalStoreMonitor.shouldDeleteLocalTaskStoreWhenItHasNoOffsetFile(TestLocalStoreMonitor.java:105)
      
      30 tests completed, 2 failed, 2 skipped
      

      Attachments

        Issue Links

          Activity

            People

              ahabdulhamid Ahmed Abdul Hamid
              pmaheshwari Prateek Maheshwari
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: