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

Chetan Mehrotra commented on OAK-4980:
--------------------------------------

The test was just meant to check if exception was thrown for RDB case or now. 
Feel free to tweak it or even remove it if required coverage is implemented in 
other parts

> occasional test failure of JournalGCIT
> --------------------------------------
>
>                 Key: OAK-4980
>                 URL: https://issues.apache.org/jira/browse/OAK-4980
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: rdbmk
>    Affects Versions: 1.5.12, 1.4.9
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>
> This test occasionally fails when being run on a non-virgin repo:
> {noformat}
> journalGCSimpleInvocation[RDBFixture: 
> RDB-Postgres](org.apache.jackrabbit.oak.plugins.document.JournalGCIT)  Time 
> elapsed: 0.062 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<0> but was:<44>
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.failNotEquals(Assert.java:834)
>         at org.junit.Assert.assertEquals(Assert.java:645)
>         at org.junit.Assert.assertEquals(Assert.java:631)
>         at 
> org.apache.jackrabbit.oak.plugins.document.JournalGCIT.journalGCSimpleInvocation(JournalGCIT.java:42)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to