You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2021/07/22 15:36:00 UTC

[jira] [Commented] (HDDS-5484) testMovePrerequisites in TestReplicationManager fails with an AssertionError.

    [ https://issues.apache.org/jira/browse/HDDS-5484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17385616#comment-17385616 ] 

Attila Doroszlai commented on HDDS-5484:
----------------------------------------

With 100 repetitions (see [^HDDS-5484-repro.patch]) I usually get 5 failures.  Splitting the condition in the assertion we can get a bit more info:

{code}
TestReplicationManager.testMovePrerequisites:1333 expected:<REPLICATION_FAIL_INFLIGHT_REPLICATION> but was:<REPLICATION_FAIL_INFLIGHT_DELETION>
{code}

> testMovePrerequisites in TestReplicationManager fails with an AssertionError.
> -----------------------------------------------------------------------------
>
>                 Key: HDDS-5484
>                 URL: https://issues.apache.org/jira/browse/HDDS-5484
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: SCM
>    Affects Versions: 1.1.0
>            Reporter: Siddhant Sangwan
>            Priority: Major
>         Attachments: HDDS-5484-repro.patch
>
>
> On multiple runs, testMovePrerequisites sometimes fails with an AssertionError:
> {code:java}
> java.lang.AssertionError
> 	at org.junit.Assert.fail(Assert.java:87)
> 	at org.junit.Assert.assertTrue(Assert.java:42)
> 	at org.junit.Assert.assertTrue(Assert.java:53)
> 	at org.apache.hadoop.hdds.scm.container.TestReplicationManager.testMovePrerequisites
> (TestReplicationManager.java:1331)
> {code}



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

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