You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/04/19 07:13:41 UTC
[jira] [Commented] (SAMZA-1176) Intermittent TestJoinOperator unit
test failure
[ https://issues.apache.org/jira/browse/SAMZA-1176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15974209#comment-15974209 ]
ASF GitHub Bot commented on SAMZA-1176:
---------------------------------------
GitHub user prateekm opened a pull request:
https://github.com/apache/samza/pull/131
SAMZA-1176: Intermittent TestJoinOperator unit test failure
Join TTL was set too low (10 ms). `joinRetainsMatchedMessagesReverse` will fail if the execution time between line 176 and 186 is longer than that. Increased TTL to 1 min (will not affect test execution time).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/prateekm/samza join-test-fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/samza/pull/131.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #131
----
commit 06ad8485a9ba706ce10b261cb7a2a35538382a86
Author: Prateek Maheshwari <pm...@linkedin.com>
Date: 2017-04-19T07:01:25Z
SAMZA-1176: Intermittent TestJoinOperator unit test failure
----
> Intermittent TestJoinOperator unit test failure
> -----------------------------------------------
>
> Key: SAMZA-1176
> URL: https://issues.apache.org/jira/browse/SAMZA-1176
> Project: Samza
> Issue Type: Bug
> Affects Versions: 0.13.0
> Reporter: Prateek Maheshwari
> Assignee: Prateek Maheshwari
> Fix For: 0.13.0
>
>
> There are occasional failures like the following:
> ```joinRetainsMatchedMessagesReverse FAILED
> java.lang.AssertionError: expected:<0> but was:<110>
> 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.operators.TestJoinOperator.joinRetainsMatchedMessagesReverse(TestJoinOperator.java:174)```
> These are presumably due to concurrent JUnit test execution. This ticket is to isolate these test cases so that they can be run concurrently.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)