[JAVA-2575] Re-enable failing tests in WriteProtocolSpecification Created: 04/Aug/17  Updated: 06/Sep/17  Resolved: 06/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: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-30486 mongos rejects OP_INSERT messages tha... Closed
Epic Link: Java MongoDB 3.6 Support

 Description   

Two tests in WriteProtocolSpecification are failing against latest server nightlies with the error:

  • should execute split acknowledged inserts
  • should report write errors on split acknowledged inserts

[2017/08/03 12:55:50.040] com.mongodb.connection.WriteProtocolSpecification > should execute split acknowledged inserts FAILED
 [2017/08/03 12:55:50.040]     com.mongodb.WriteConcernException: Write failed with error code 10334 and error message 'BSONObj size: 45000219 (0x2AEA61B) is invalid. Size must be between 0 and 16793600(16MB) First element: insert: "com.mongodb.connection.WriteProtocolSpecification"'
 [2017/08/03 12:55:50.041]         at com.mongodb.connection.ProtocolHelper.throwWriteException(ProtocolHelper.java:194)
 [2017/08/03 12:55:50.041]         at com.mongodb.connection.ProtocolHelper.getWriteResult(ProtocolHelper.java:62)
 [2017/08/03 12:55:50.041]         at com.mongodb.connection.WriteProtocol.execute(WriteProtocol.java:111)
 [2017/08/03 12:55:50.041]         at com.mongodb.connection.InsertProtocol.execute(InsertProtocol.java:60)
 [2017/08/03 12:55:50.041]         at com.mongodb.connection.InsertProtocol.execute(InsertProtocol.java:39)
 [2017/08/03 12:55:50.041]         at com.mongodb.connection.ProtocolTestHelper.execute(ProtocolTestHelper.java:31)
 [2017/08/03 12:55:50.041]         at com.mongodb.connection.WriteProtocolSpecification.should execute split acknowledged inserts(WriteProtocolSpecification.groovy:148)
 [2017/08/03 12:55:50.041]     com.mongodb.WriteConcernException: Write failed with error code 10334 and error message 'BSONObj size: 45000219 (0x2AEA61B) is invalid. Size must be between 0 and 16793600(16MB) First element: insert: "com.mongodb.connection.WriteProtocolSpecification"'
 [2017/08/03 12:55:50.041] [Test com.mongodb.connection.WriteProtocolSpecification > should stop writing on write error when an ordered unacknowledged inserts must be split]

Example here: https://evergreen.mongodb.com/task_log_raw/mongo_java_driver_tests_jdk6__version~latest_os~rhel62_topology~sharded_cluster_auth~noauth_ssl~nossl_jdk~jdk6_test_530386fca00e590f9b9e81bb8b0812b71b6169ab_17_08_03_16_29_28/0?type=T#L11700

SERVER-30486 has been reported to address the mongos defect. When that issue is closed this test can be re-enabled.



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

Nothing to do anymore, as these tests have been removed from master in scope of removing 2.4 support.

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