You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2017/03/03 14:16:45 UTC

[jira] [Commented] (OAK-5888) ReferenceBinaryIT fails after switching to oak-segment-tar

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

Julian Reschke commented on OAK-5888:
-------------------------------------

while at it, please also add

{noformat}
Index: oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/ReferenceBinaryIT.java
===================================================================
--- oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/ReferenceBinaryIT.java (revision 1785296)
+++ oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/ReferenceBinaryIT.java (working copy)
@@ -130,7 +130,7 @@
         fixture.dispose(nodeStore);
     }

-    @Parameterized.Parameters
+    @Parameterized.Parameters(name="{0}")
     public static Collection<Object[]> fixtures() throws Exception {
         List<Object[]> fixtures = Lists.newArrayList();
         SegmentTarFixture segmentTarFixture = new SegmentTarFixture();
{noformat}

so we get the name of the fixture into the messages.

> ReferenceBinaryIT fails after switching to oak-segment-tar
> ----------------------------------------------------------
>
>                 Key: OAK-5888
>                 URL: https://issues.apache.org/jira/browse/OAK-5888
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>            Reporter: Andrei Dulceanu
>            Assignee: Andrei Dulceanu
>             Fix For: 1.7.0
>
>
> Changes done in {{oak-jcr}} for OAK-5834 broke {{ReferenceBinaryIT}}
> {code}
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.207 sec <<< FAILURE!
> testReferenceBinaryExchangeWithSharedRepository[0](org.apache.jackrabbit.oak.jcr.ReferenceBinaryIT)  Time elapsed: 5.092 sec  <<< FAILURE!
> java.lang.AssertionError
>        at org.junit.Assert.fail(Assert.java:86)
>        at org.junit.Assert.assertTrue(Assert.java:41)
>        at org.junit.Assert.assertNotNull(Assert.java:712)
>        at org.junit.Assert.assertNotNull(Assert.java:722)
>        at org.apache.jackrabbit.oak.jcr.ReferenceBinaryIT.testReferenceBinaryExchangeWithSharedRepository(ReferenceBinaryIT.java:100)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:606)
>        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)