Bharath Kumarasubramanian created SAMZA-2545:
------------------------------------------------
Summary: Fix testBatchOperationTriggeredByBatchSize flakiness
Key: SAMZA-2545
URL: https://issues.apache.org/jira/browse/SAMZA-2545
Project: Samza
Issue Type: Bug
Reporter: Bharath Kumarasubramanian
Assignee: Bharath Kumarasubramanian
Fix For: 1.5
{code:java}
testBatchOperationTriggeredByBatchSize FAILED
java.lang.AssertionError
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.samza.table.batching.TestBatchProcessor$TestBatchTriggered.testBatchOperationTriggeredByBatchSize(TestBatchProcessor.java:114)
{code}
The test uses sleep and expects the future to complete at the end of the sleep
duration. It introduces flakiness and results in false negatives.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)