Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3112

Remove QueryBatchCursorFunctionalSpecification "should get more from a secondary" test

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.10.0
    • Affects Version/s: None
    • Component/s: Test Failure
    • Labels:
      None

      Test only runs against replica sets. Seems to fail against 3.2 and 3.4 with auth and ssl enabled.

      cursor.next()
      |      |
      |      com.mongodb.MongoQueryException: Query failed with error code 96 and error message 'collection dropped between getMore calls' on server localhost:27019
      com.mongodb.operation.QueryBatchCursor@44a06d88
       (org.spockframework.runtime.ConditionFailedWithExceptionError)
       Condition failed with Exception:
       
       cursor.next()
       |      |
       |      com.mongodb.MongoQueryException: Query failed with error code 96 and error message 'collection dropped between getMore calls' on server localhost:27019
       com.mongodb.operation.QueryBatchCursor@44a06d88
       
       	at com.mongodb.operation.QueryBatchCursorFunctionalSpecification.should get more from a secondary(QueryBatchCursorFunctionalSpecification.groovy:559)
       Caused by: com.mongodb.MongoQueryException: Query failed with error code 96 and error message 'collection dropped between getMore calls' on server localhost:27019
       	at com.mongodb.operation.QueryHelper.translateCommandException(QueryHelper.java:29)
       	at com.mongodb.operation.QueryBatchCursor.getMore(QueryBatchCursor.java:229)
       	at com.mongodb.operation.QueryBatchCursor.hasNext(QueryBatchCursor.java:115)
       	at com.mongodb.operation.QueryBatchCursor.next(QueryBatchCursor.java:133)
       	... 1 more
       system-out:
       00:44:06.777 [Test worker] INFO  org.mongodb.driver.connection - Opened connection [connectionId{localValue:447, serverValue:30}] to localhost:27019
      

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: