ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Fedotov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-10973) Migrate example module tests from Junit 4 to 5
Date Fri, 14 Jun 2019 11:22:00 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-10973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16863955#comment-16863955
] 

Ivan Fedotov commented on IGNITE-10973:
---------------------------------------

[~Pavlukhin], Hi!

In general I managed with migration examples module to JUnit 5. What I did:
 * added JUnit5 dependencies to parent/pom.xml. JUnit4 still works without any changes: junit-vintage
allows us to use the previous version.
 * added junit47 provider to use the JUnit version in the project >= 4.7
 * changed suite runner: from Suite.class to JUnitPlatform.class
 * in examples module changed annotations and uncommented ignored tests

However, TC bot shows as blocker those tests which for some reasons do not have history on
master branch [1]. I checked logs and tests have failures because of functionality. Moreover,
they fail on master branch locally for the same reasons. But TC history for them is empty
and they are not marked as ignored in code.

Can be reason in TC/TC bot infrastucture, what do you think?

[1] [https://mtcga.gridgain.com/pr.html?serverId=apache&suiteId=IgniteTests24Java8_RunAll&branchForTc=pull/6606/head&action=Latest]

> Migrate example module tests from Junit 4 to 5
> ----------------------------------------------
>
>                 Key: IGNITE-10973
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10973
>             Project: Ignite
>          Issue Type: Sub-task
>            Reporter: Ivan Fedotov
>            Assignee: Ivan Fedotov
>            Priority: Major
>              Labels: iep-30
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> For more information refer parent task.
> Migrate from Junit 4 to 5 in the example module.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message