You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vladimir Ershov (JIRA)" <ji...@apache.org> on 2016/02/08 11:08:39 UTC

[jira] [Created] (IGNITE-2585) Force Unit tests to fail in case of NPE in logs.

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
(v6.3.4#6332)