Lokesh Jain created HDDS-2634:
---------------------------------
Summary: Fix TestContainerPersistence#testDeleteChunk
Key: HDDS-2634
URL: https://issues.apache.org/jira/browse/HDDS-2634
Project: Hadoop Distributed Data Store
Issue Type: Test
Reporter: Lokesh Jain
TestContainerPersistence#testDeleteChunk fails with below assertion.
{code:java}
java.lang.AssertionError: java.lang.AssertionError: Expected: (an instance of
org.apache.hadoop.hdds.scm.container.common.helpers.StorageContainerException
and exception with message a string containing "Unable to find the chunk
file.") but: exception with message a string containing "Unable to find the
chunk file." message was "Chunk file can't be found
[/Users/ljain/codebase/apache/lokesh-ozone/hadoop-ozone/integration-test/target/test-dir/TestContainerPersistence/hdds/7c9f11f9-8ae8-482d-93e6-979508bb4b86/current/containerDir196/1574861244722/chunks/1574861244953.data.0]"Stacktrace
was:
org.apache.hadoop.hdds.scm.container.common.helpers.StorageContainerException:
Chunk file can't be found
[/Users/ljain/codebase/apache/lokesh-ozone/hadoop-ozone/integration-test/target/test-dir/TestContainerPersistence/hdds/7c9f11f9-8ae8-482d-93e6-979508bb4b86/current/containerDir196/1574861244722/chunks/1574861244953.data.0]
at
org.apache.hadoop.ozone.container.keyvalue.impl.ChunkManagerImpl.readChunk(ChunkManagerImpl.java:247)
at
org.apache.hadoop.ozone.container.common.impl.TestContainerPersistence.testDeleteChunk(TestContainerPersistence.java:579)
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) at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at
org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:168)
at
org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at
org.junit.Assert.assertThat(Assert.java:865) at
org.junit.Assert.assertThat(Assert.java:832) at
org.junit.rules.ExpectedException.handleException(ExpectedException.java:198)
at org.junit.rules.ExpectedException.access$500(ExpectedException.java:85) at
org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:177)
at
org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]