[ 
https://issues.apache.org/jira/browse/OAK-7447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcel Reutegger reopened OAK-7447:
-----------------------------------

Re-opening because there's a similar issue with 
{{DocumentStoreFixture.MongoFixture}}.

{noformat}
java.lang.IllegalStateException: state should be: open
        at com.mongodb.assertions.Assertions.isTrue(Assertions.java:70)
        at com.mongodb.connection.BaseCluster.selectServer(BaseCluster.java:86)
        at 
com.mongodb.internal.session.ServerSessionPool.endClosedSessions(ServerSessionPool.java:121)
        at 
com.mongodb.internal.session.ServerSessionPool.close(ServerSessionPool.java:93)
        at com.mongodb.Mongo.close(Mongo.java:539)
        at 
org.apache.jackrabbit.oak.plugins.document.util.MongoConnection.close(MongoConnection.java:143)
        at 
org.apache.jackrabbit.oak.plugins.document.DocumentStoreFixture$MongoFixture.dispose(DocumentStoreFixture.java:235)
        at 
org.apache.jackrabbit.oak.plugins.document.AbstractDocumentStoreTest.cleanUp(AbstractDocumentStoreTest.java:61)
{noformat}

> Sporadic test failures when connection is closed twice
> ------------------------------------------------------
>
>                 Key: OAK-7447
>                 URL: https://issues.apache.org/jira/browse/OAK-7447
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mongomk
>    Affects Versions: 1.9.0
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Trivial
>             Fix For: 1.10, 1.9.1
>
>
> With the upgrade to MongoDB Java Driver 3.6, tests sometimes fail when the 
> MongoConnectionFactory closes a connection that is already closed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to