Oleg Ignatenko created IGNITE-11116:
---------------------------------------
Summary: replace Assert in particular test classes from
junit.framework (JUnit 3) to org.junit (JUnit 4)
Key: IGNITE-11116
URL: https://issues.apache.org/jira/browse/IGNITE-11116
Project: Ignite
Issue Type: Sub-task
Affects Versions: 2.7
Reporter: Oleg Ignatenko
Some tests start failing on Teamcity when Assert is replaced to one from
{{org.junit}} package (note I couldn't reliably reproduce these failures
locally). Per my observations it looks like troublesome code involves
{{assertEquals}} that compares double / float values with non-zero delta. This
issue was discovered in the course of IGNITE-10927.
Search in the [PR 5866|https://github.com/apache/ignite/pull/5866] linked to
IGNITE-10927 for import of {{junit.framework.Assert}} shows that this involves
ZookeeperDiscoverySpiTestHelper, IoStatisticsMetricsLocalMXBeanImplSelfTest,
BinaryMarshallerSelfTest, RestMemcacheProtocolSelfTest.
Search in this PR for static import of {{junit.framework.Assert}} shows 12 more
involved test classes, CassandraConfigTest, ClientCacheFlagsCodecTest etc.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)