You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Yi Pan (Data Infrastructure) (JIRA)" <ji...@apache.org> on 2018/08/29 03:57:00 UTC
[jira] [Created] (SAMZA-1828) MessageStreamAssert check passed but
throwing exception
Yi Pan (Data Infrastructure) created SAMZA-1828:
---------------------------------------------------
Summary: MessageStreamAssert check passed but throwing exception
Key: SAMZA-1828
URL: https://issues.apache.org/jira/browse/SAMZA-1828
Project: Samza
Issue Type: Bug
Reporter: Yi Pan (Data Infrastructure)
Fix For: 1.0
{code}
private void check() {
final CountDownLatch latch = LATCHES.get(id);
try {
assertThat(actual, Matchers.containsInAnyOrder((M[]) expected.toArray()));
throw new IllegalArgumentException("asdas");
} finally {
latch.countDown();
}
}
{code}
When assertThat(...) passed, we still throw IllegalArgumentException() here.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)