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

Fix intermittent failure of driver-async SmokeTestSpecification

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.0.1, 3.1.0
    • Affects Version/s: 3.0.0
    • Component/s: Test Coverage
    • None

      There seems to be a rarely hit race condition when renaming a collection in the async smoke test. It only occurs when running with a seed list of mongos servers that the MongoClient is load balancing.

      [Test com.mongodb.async.client.SmokeTestSpecification > should handle common administrative scenarios without error] FAILURE (689 ms)  Started at: 1428573023189
      
      com.mongodb.async.client.SmokeTestSpecification > should handle common administrative scenarios without error FAILED
          com.mongodb.MongoCommandException: Command failed with error 13140: 'exception: Don't recognize source or target DB' on server localhost:27017. The full response is { "code" : 13140, "ok" : 0.0, "errmsg" : "exception: Don't recognize source or target DB" }
      

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

              Created:
              Updated:
              Resolved: