Skip to content

Unit tests in modules/odata/odata-core-test are not executed #5599

@iliyan-velichkov

Description

@iliyan-velichkov
[INFO] ----------< org.eclipse.dirigible:dirigible-odata-core-test >-----------
[INFO] Building OData - Core - Test 13.0.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ dirigible-odata-core-test ---
[INFO] Deleting /Users/iliyan/work/git/dirigible-fork/modules/odata/odata-core-test/target
[INFO] 
[INFO] --- enforcer:1.2:enforce (enforce-maven) @ dirigible-odata-core-test ---
[INFO] 
[INFO] --- formatter:2.29.0:format (format-java-code) @ dirigible-odata-core-test ---
[INFO] Formatting is skipped
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ dirigible-odata-core-test ---
[INFO] skip non existing resourceDirectory /Users/iliyan/work/git/dirigible-fork/modules/odata/odata-core-test/src/main/resources
[INFO] 
[INFO] --- compiler:3.14.1:compile (default-compile) @ dirigible-odata-core-test ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 8 source files with javac [debug:lines,vars,source parameters target 21] to target/classes
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ dirigible-odata-core-test ---
[INFO] Copying 30 resources from src/test/resources to target/test-classes
[INFO] 
[INFO] --- compiler:3.14.1:testCompile (default-testCompile) @ dirigible-odata-core-test ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 34 source files with javac [debug:lines,vars,source parameters target 21] to target/test-classes
[INFO] /Users/iliyan/work/git/dirigible-fork/modules/odata/odata-core-test/src/test/java/org/eclipse/dirigible/engine/odata2/sql/builder/SQLSelectBuilderExpandTest.java: /Users/iliyan/work/git/dirigible-fork/modules/odata/odata-core-test/src/test/java/org/eclipse/dirigible/engine/odata2/sql/builder/SQLSelectBuilderExpandTest.java uses unchecked or unsafe operations.
[INFO] /Users/iliyan/work/git/dirigible-fork/modules/odata/odata-core-test/src/test/java/org/eclipse/dirigible/engine/odata2/sql/builder/SQLSelectBuilderExpandTest.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- surefire:3.5.4:test (default-test) @ dirigible-odata-core-test ---
[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] 

Consider to migrate unit tests to junit5 or enable junit-vintage-engine by removing the exclusion and/or adding it explicitly.

Verify tests are executed using mvn clean install -P unit-tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions