You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Raju Balpande (Jira)" <ji...@apache.org> on 2024/06/03 11:53:00 UTC

[jira] [Updated] (HDDS-10973) TestContainerStateManagerIntegration has assert Statement having misleading message

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

Raju Balpande updated HDDS-10973:
---------------------------------
    Description: 
TestContainerStateManagerIntegration has assert Statement having misleading message
{noformat}
[INFO] Running org.apache.hadoop.hdds.scm.container.TestContainerStateManagerIntegration
    Error:  Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 22.117 s <<< FAILURE! - in org.apache.hadoop.hdds.scm.container.TestContainerStateManagerIntegration
    Error:  org.apache.hadoop.hdds.scm.container.TestContainerStateManagerIntegration.testGetMatchingContainerMultipleThreads  Time elapsed: 22.05 s  <<< FAILURE!
    org.opentest4j.AssertionFailedError: expected: <2> but was: <3>
    	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
    	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132){noformat}
Expectation:

The correct message shall the expected actual which is 3.

org.opentest4j.AssertionFailedError: expected: <3> but was: <2>

  was:
TestContainerStateManagerIntegration ** has ** assert Statement having misleading message
{noformat}
[INFO] Running org.apache.hadoop.hdds.scm.container.TestContainerStateManagerIntegration
    Error:  Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 22.117 s <<< FAILURE! - in org.apache.hadoop.hdds.scm.container.TestContainerStateManagerIntegration
    Error:  org.apache.hadoop.hdds.scm.container.TestContainerStateManagerIntegration.testGetMatchingContainerMultipleThreads  Time elapsed: 22.05 s  <<< FAILURE!
    org.opentest4j.AssertionFailedError: expected: <2> but was: <3>
    	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
    	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132){noformat}


> TestContainerStateManagerIntegration has assert Statement having misleading message
> -----------------------------------------------------------------------------------
>
>                 Key: HDDS-10973
>                 URL: https://issues.apache.org/jira/browse/HDDS-10973
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone CLI
>            Reporter: Raju Balpande
>            Assignee: Raju Balpande
>            Priority: Major
>
> TestContainerStateManagerIntegration has assert Statement having misleading message
> {noformat}
> [INFO] Running org.apache.hadoop.hdds.scm.container.TestContainerStateManagerIntegration
>     Error:  Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 22.117 s <<< FAILURE! - in org.apache.hadoop.hdds.scm.container.TestContainerStateManagerIntegration
>     Error:  org.apache.hadoop.hdds.scm.container.TestContainerStateManagerIntegration.testGetMatchingContainerMultipleThreads  Time elapsed: 22.05 s  <<< FAILURE!
>     org.opentest4j.AssertionFailedError: expected: <2> but was: <3>
>     	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
>     	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132){noformat}
> Expectation:
> The correct message shall the expected actual which is 3.
> org.opentest4j.AssertionFailedError: expected: <3> but was: <2>



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org