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

Siyao Meng resolved HDDS-7861.
------------------------------
    Resolution: Fixed

> [Snapshot] Flaky snapshot restore integration test.
> ---------------------------------------------------
>
>                 Key: HDDS-7861
>                 URL: https://issues.apache.org/jira/browse/HDDS-7861
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Hemant Kumar
>            Assignee: Hemant Kumar
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: HDDS-6517-Snapshot
>
>
> Snapshot restore integration test fails when restoring form bucket1's 
> snapshot to bucket2.
> [https://github.com/apache/ozone/blob/HDDS-6517-Snapshot/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/snapshot/TestOzoneSnapshotRestore.java#L236]
> ```
> [INFO] Running org.apache.hadoop.ozone.om.snapshot.TestOzoneSnapshotRestore
> Error: Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
> 143.221 s <<< FAILURE! - in 
> org.apache.hadoop.ozone.om.snapshot.TestOzoneSnapshotRestore
> Error: 
> org.apache.hadoop.ozone.om.snapshot.TestOzoneSnapshotRestore.testRestoreSnapshotDifferentBucket(BucketLayout)[2]
>  Time elapsed: 21.706 s <<< FAILURE!
> org.opentest4j.AssertionFailedError: expected: <0> but was: <1>
> at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
> at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
> at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
> at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145)
> at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:527)
> at 
> org.apache.hadoop.ozone.om.snapshot.TestOzoneSnapshotRestore.keyCopy(TestOzoneSnapshotRestore.java:188)
> at 
> org.apache.hadoop.ozone.om.snapshot.TestOzoneSnapshotRestore.testRestoreSnapshotDifferentBucket(TestOzoneSnapshotRestore.java:266)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> ```



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to