[JAVA-2574] Investigate WriteProtocolCommandEventSpecification test failure Created: 04/Aug/17  Updated: 29/Oct/23  Resolved: 14/Sep/17

Status: Closed
Project: Java Driver
Component/s: Test Coverage
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Java MongoDB 3.6 Support

 Description   

The test should deliver started and completed command events for split unacknowleded inserts in WriteProtocolCommandEventSpecification is failing against sharded clusters of the latest nightly server builds. Example here.

Error is:

 
 [2017/08/03 12:55:49.541]     com.mongodb.MongoCommandException: Command failed with error 26: 'ns not found' on server localhost:27017. The full response is { "ok" : 0.0, "errmsg" : "ns not found", "code" : 26, "codeName" : "NamespaceNotFound", "$clusterTime" : { "clusterTime" : { "$timestamp" : { "t" : 1501779349, "i" : 26 } }, "signature" : { "hash" : { "$binary" : "LLPRrnyqV+9ruj3SmfoynQsdBOM=", "$type" : "00" }, "keyId" : { "$numberLong" : "6450092008647163905" } } }, "operationTime" : { "$timestamp" : { "t" : 1501779349, "i" : 26 } } }
 [2017/08/03 12:55:49.541]         at com.mongodb.connection.ProtocolHelper.getCommandFailureException(ProtocolHelper.java:115)
 [2017/08/03 12:55:49.541]         at com.mongodb.connection.CommandProtocol.execute(CommandProtocol.java:107)
 [2017/08/03 12:55:49.541]         at com.mongodb.connection.WriteProtocolCommandEventSpecification.should deliver started and completed command events for split unacknowleded inserts(WriteProtocolCommandEventSpecification.groovy:145)

Disabling the test for now, but let's figure out why it's failing.



 Comments   
Comment by Jeffrey Yemin [ 14/Sep/17 ]

The failing test now runs without error against the latest server release.

Generated at Thu Feb 08 08:57:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.