Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When running commands like `mvn integration-test`, we may find some tests fail but the maven reports SUCCESS, see:
https://github.com/apache/iotdb/runs/2655279613
[main] Docker Compose has finished running [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.252 s - in org.apache.iotdb.db.sql.node1.OneNodeClusterIT [INFO] [INFO] Results: [INFO] Error: Errors: Error: FiveNodeCluster1IT>Cases.vectorCountTest:205 » StatementExecution 313: Request... [INFO] Error: Tests run: 21, Failures: 0, Errors: 1, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 07:21 min [INFO] Finished at: 2021-05-24T10:55:21Z [INFO] ------------------------------------------------------------------------
It is caused by incorrect maven-failsafe-plugin usage.
Details: we need to add `verify` as a goal in the plugin.
see: http://maven.40175.n5.nabble.com/Failing-a-build-with-maven-failsafe-plugin-td3199308.html
Attachments
Issue Links
- links to