ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolai Kulagin (Jira)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-12737) Incorrect annotation on TxDeadlockCauseTest
Date Tue, 03 Mar 2020 07:52:00 GMT
Nikolai Kulagin created IGNITE-12737:
----------------------------------------

             Summary: Incorrect annotation on TxDeadlockCauseTest
                 Key: IGNITE-12737
                 URL: https://issues.apache.org/jira/browse/IGNITE-12737
             Project: Ignite
          Issue Type: Bug
            Reporter: Nikolai Kulagin


Method TxDeadlockCauseTest#testCauseObject() have annotation {color:#ffab00}@Test{color},
but it is not a test case. As a result, JUnit can run no one test in this class and printed
error.
{code:java}
java.lang.Exception: Method testCauseObject should have no parameters.{code}
Most likely TxDeadlockCauseTest.class was commented on in the suite TxDeadlockDetectionTestSuite
because of this.

I suggest:
1. Delete the annotation {color:#ffab00}@Test{color};
2. Fix the tests in TxDeadlockCauseTest (3 tests look good, 1 test fails);
3. Uncomment the TxDeadlockCauseTest in the suite.
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message