You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Oleg Ignatenko (JIRA)" <ji...@apache.org> on 2019/01/24 20:23:00 UTC

[jira] [Resolved] (IGNITE-10762) Migrate test suites from Junit 3 to 4

     [ https://issues.apache.org/jira/browse/IGNITE-10762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Ignatenko resolved IGNITE-10762.
-------------------------------------
    Resolution: Done

> Migrate test suites from Junit 3 to 4
> -------------------------------------
>
>                 Key: IGNITE-10762
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10762
>             Project: Ignite
>          Issue Type: Task
>    Affects Versions: 2.8
>            Reporter: Ivan Pavlukhin
>            Assignee: Oleg Ignatenko
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain, technical_debt
>             Fix For: 2.8
>
>
> It seems that {{@Ignore}} annotation is processed incorrectly when a test in Junit 4 style is included into Junit 3 test suite (wrapped into {{JUnit4TestAdapter}}). Actually such test is skipped silently when it is called during a suite execution. So, for full a blown usage of {{@Ignore}} test suites must be migrated to Junit 4 as well. Expected behavior here is reporting that a particular test method was ignored after tests execution. Ignored tests should be visible in CI.
> Apparently such unexpected behavior of {{@Ignore}} can be caused by {{JUnit4TestAdapter}} as it explicitly filters test method marked with this annotation.



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