You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2023/12/02 21:09:00 UTC

[jira] [Updated] (RATIS-1952) Cannot run specific test due to failIfNoSpecifiedTests=true

     [ https://issues.apache.org/jira/browse/RATIS-1952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Attila Doroszlai updated RATIS-1952:
------------------------------------
    Description: 
{code:title=mvn -Dtest='TestNettyDataStreamChainTopologyWithGrpcCluster' clean test}
...
[INFO] --- maven-surefire-plugin:3.0.0:test (default-test) @ ratis-docs ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Ratis 3.1.0-SNAPSHOT:
[INFO] 
[INFO] Apache Ratis ....................................... SUCCESS [  0.521 s]
[INFO] Apache Ratis Documentation ......................... FAILURE [  0.160 s]
...
[INFO] BUILD FAILURE
...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0:test (default-test) on project ratis-docs: No tests matching pattern "TestMultiRaftGroup" were executed! (Set -Dsurefire.failIfNoSpecifiedTests=false to ignore this error.) -> [Help 1]
{code}

The default value of {{failIfNoSpecifiedTests}} was changed in SUREFIRE-1910, released in 3.0.0-M6.

  was:
{code:title=mvn -Dtest=TestMultiRaftGroup clean test}
...
[INFO] --- maven-surefire-plugin:3.0.0:test (default-test) @ ratis-docs ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Ratis 3.1.0-SNAPSHOT:
[INFO] 
[INFO] Apache Ratis ....................................... SUCCESS [  0.521 s]
[INFO] Apache Ratis Documentation ......................... FAILURE [  0.160 s]
...
[INFO] BUILD FAILURE
...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0:test (default-test) on project ratis-docs: No tests matching pattern "TestMultiRaftGroup" were executed! (Set -Dsurefire.failIfNoSpecifiedTests=false to ignore this error.) -> [Help 1]
{code}

The default value of {{failIfNoSpecifiedTests}} was changed in SUREFIRE-1910, released in 3.0.0-M6.


> Cannot run specific test due to failIfNoSpecifiedTests=true
> -----------------------------------------------------------
>
>                 Key: RATIS-1952
>                 URL: https://issues.apache.org/jira/browse/RATIS-1952
>             Project: Ratis
>          Issue Type: Bug
>          Components: build, test
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>
> {code:title=mvn -Dtest='TestNettyDataStreamChainTopologyWithGrpcCluster' clean test}
> ...
> [INFO] --- maven-surefire-plugin:3.0.0:test (default-test) @ ratis-docs ---
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache Ratis 3.1.0-SNAPSHOT:
> [INFO] 
> [INFO] Apache Ratis ....................................... SUCCESS [  0.521 s]
> [INFO] Apache Ratis Documentation ......................... FAILURE [  0.160 s]
> ...
> [INFO] BUILD FAILURE
> ...
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0:test (default-test) on project ratis-docs: No tests matching pattern "TestMultiRaftGroup" were executed! (Set -Dsurefire.failIfNoSpecifiedTests=false to ignore this error.) -> [Help 1]
> {code}
> The default value of {{failIfNoSpecifiedTests}} was changed in SUREFIRE-1910, released in 3.0.0-M6.



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