Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
There are a couple of flaky tests that are failing all our Jenkin builds - PR check validation and post-commit build. We will comment it out until the tests are fixed.
testProcessInOrder FAILED
java.lang.AssertionError: expected:<2> but was:<1>
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.failNotEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:126)
at org.junit.Assert.assertEquals(Assert.java:470)
at org.junit.Assert.assertEquals(Assert.java:454)
at org.apache.samza.task.TestAsyncRunLoop.testProcessInOrder(TestAsyncRunLoop.java:248)
testCommitBehaviourWhenAsyncCommitIsEnabled FAILED
java.lang.AssertionError: expected:<3> but was:<406>
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.failNotEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:126)
at org.junit.Assert.assertEquals(Assert.java:470)
at org.junit.Assert.assertEquals(Assert.java:454)
at org.apache.samza.task.TestAsyncRunLoop.testCommitBehaviourWhenAsyncCommitIsEnabled(TestAsyncRunLoop.java:579)
shouldDeleteTaskStoreWhenTaskPreferredStoreIsNotLocalHost FAILED
junit.framework.AssertionFailedError: expected:<2> but was:<1>
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:144)
shouldDeleteLocalTaskStoreWhenItHasNoOffsetFile FAILED
junit.framework.AssertionFailedError: expected:<2> but was:<1>
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:91)
We will fix these tests in separate JIRAs.
Attachments
Issue Links
- is depended upon by
-
SAMZA-1190 Flaky unit tests
- Open
- relates to
-
SAMZA-1183 Fix TestAsyncRunLoop flaky tests
- Closed
- links to