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

Steve Loughran commented on HADOOP-18147:
-----------------------------------------

getting failure of analysis of raised exception; assertions don't provide much 
detail.
{code}
[ERROR] 
testAbfsRestOperationExceptionFormat(org.apache.hadoop.fs.azurebfs.ITestAbfsRestOperationException)
  Time elapsed: 0.213 s  <<< FAILURE!
java.lang.AssertionError: expected:<6> but was:<4>
        at org.junit.Assert.fail(Assert.java:89)
        at org.junit.Assert.failNotEquals(Assert.java:835)
        at org.junit.Assert.assertEquals(Assert.java:647)
        at org.junit.Assert.assertEquals(Assert.java:633)
        at 
org.apache.hadoop.fs.azurebfs.ITestAbfsRestOperationException.testAbfsRestOperationExceptionFormat(ITestAbfsRestOperationException.java:78)
        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:59)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
        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.TestWatcher$1.evaluate(TestWatcher.java:61)
        at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288)
        at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.lang.Thread.run(Thread.java:750)

[INFO] 

{code}
i will move failing asserts to assertj

> ITestAbfsRestOperationException failing
> ---------------------------------------
>
>                 Key: HADOOP-18147
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18147
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/azure, test
>    Affects Versions: 3.3.2
>         Environment: internal branch where I've just been backporting the 
> full etags patch on macbook m1 and openjdk8
>            Reporter: Steve Loughran
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to