ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ershov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-2585) Force Unit tests to fail in case of NPE in logs.
Date Mon, 08 Feb 2016 10:08:39 GMT
Vladimir Ershov created IGNITE-2585:

             Summary: Force Unit tests to fail in case of NPE in logs.
                 Key: IGNITE-2585
                 URL: https://issues.apache.org/jira/browse/IGNITE-2585
             Project: Ignite
          Issue Type: Improvement
          Components: build
            Reporter: Vladimir Ershov

As for now NPE could be thrown from separated threads, without affecting the test result,
but still appears in logs. Since it's not possible for one to review thousands of logs after
his commit, we can inject in our GridAbstractTest special FailOnMessageLogger logger, that
will fail test in case NPE appears in log.
Though this change could affect tests, that expects NPE to be thrown. FailOnMessageLogger
should be switch off for that tests. Expected amount of such test: 16.
Should not take a lot of time.

This message was sent by Atlassian JIRA

View raw message