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)

Reply via email to