You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/09/13 10:59:00 UTC

[jira] [Commented] (AVRO-3628) [Java] JUnit 4.x tests are not executed

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

ASF subversion and git services commented on AVRO-3628:
-------------------------------------------------------

Commit d793071a97eab1604911024d42197fa81a6d0bb1 in avro's branch refs/heads/avro-3628-junit-5.x-vintage from Martin Tzvetanov Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=d793071a9 ]

AVRO-3628: [Java] JUnit 4.x tests are not executed

Use JUnit 5.x Vintage engine instead of JUnit 4.x

Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>


> [Java] JUnit 4.x tests are not executed
> ---------------------------------------
>
>                 Key: AVRO-3628
>                 URL: https://issues.apache.org/jira/browse/AVRO-3628
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.11.1
>            Reporter: Martin Tzvetanov Grigorov
>            Assignee: Martin Tzvetanov Grigorov
>            Priority: Major
>
> AVRO-3579 introduced JUnit 5 and migrated some of the tests.
> This confused maven-surefire-plugin and now it does not run the JUnit 4.x tests, e.g.:
> {code:java}
> [INFO] --- maven-surefire-plugin:3.0.0-M7:test (default-test) @ avro-maven-plugin ---
> [INFO] Tests will run in random order. To reproduce ordering use flag -Dsurefire.runOrder.random.seed=71852499748477
> [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
> [INFO] 
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO] 
> [INFO] Results:
> [INFO] 
> [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
> [INFO] 
> [INFO] 
> [INFO] --- maven-checkstyle-plugin:3.1.2:check (checkstyle-check) @ avro-maven-plugin ---
> [INFO] Starting audit...
>  {code}
>  
> We should use JUnit 5.x Vintage engine instead of JUnit 4.x



--
This message was sent by Atlassian Jira
(v8.20.10#820010)