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 GitHub Bot (Jira)" <ji...@apache.org> on 2022/09/13 11:02:00 UTC

[jira] [Updated] (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:all-tabpanel ]

ASF GitHub Bot updated AVRO-3628:
---------------------------------
    Labels: pull-request-available  (was: )

> [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
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)