You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Xiangdong Huang (Jira)" <ji...@apache.org> on 2021/06/08 06:30:00 UTC

[jira] [Created] (IOTDB-1429) There are integration-test failures but the maven says success

Xiangdong Huang created IOTDB-1429:
--------------------------------------

             Summary: There are integration-test  failures but the maven says success
                 Key: IOTDB-1429
                 URL: https://issues.apache.org/jira/browse/IOTDB-1429
             Project: Apache IoTDB
          Issue Type: Bug
          Components: CI
            Reporter: Xiangdong Huang


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]

 
{code:java}
[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] ------------------------------------------------------------------------
{code}
  

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]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)