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 2016/02/19 15:02:18 UTC

[jira] [Comment Edited] (OAK-3938) Occasional failure in MultiDocumentStoreTest.batchUpdateCachedDocument()

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

Julian Reschke edited comment on OAK-3938 at 2/19/16 2:01 PM:
--------------------------------------------------------------

AFAIR the problem is the JDBC driver, not the DB. I believe we're testing with an 11.* JDBC driver because of the requirement to support Java 6; but I might be mixing up things.

Also, and again AFAIU, the semantics of MERGE do not work for us (we need to know whether the row was inserted or updated).


was (Author: reschke):
AFAIR the problem is the JDBC driver, not the DB. I believe we're testing with an 11.* JDBC driver because of the requirement to support Java 6; but I might be mixing up things.

> Occasional failure in MultiDocumentStoreTest.batchUpdateCachedDocument()
> ------------------------------------------------------------------------
>
>                 Key: OAK-3938
>                 URL: https://issues.apache.org/jira/browse/OAK-3938
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: core, rdbmk
>            Reporter: Marcel Reutegger
>            Assignee: Julian Reschke
>             Fix For: 1.3.15
>
>         Attachments: OAK-3938.patch, rdb-oddity.patch
>
>
> Happens with RDBMK only.
> {noformat}
> batchUpdateCachedDocument[RDBFixture: RDB-H2(file)](org.apache.jackrabbit.oak.plugins.document.MultiDocumentStoreTest)  Time elapsed: 0.01 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<2> but was:<1>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:834)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.junit.Assert.assertEquals(Assert.java:144)
> 	at org.apache.jackrabbit.oak.plugins.document.MultiDocumentStoreTest.batchUpdateCachedDocument(MultiDocumentStoreTest.java:333)
> {noformat}



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