[JAVA-3098] Re-enable failing command monitoring tests on 4.2 Created: 21/Nov/18  Updated: 28/Oct/23  Resolved: 27/Feb/19

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

Type: Improvement 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

Issue Links:
Depends

 Description   

The following command monitoring tests are failing on 4.1 latest build:

  • A successful insert many command with write errors
  • A successful insert one command with write errors

due to a new field in the writeErrors documents describing the key pattern of the duplicate key violation. This ticket tracks both the disabling and re-enabling of these tests.



 Comments   
Comment by Githook User [ 27/Feb/19 ]

Author:

{'name': 'Jeff Yemin', 'username': 'jyemin', 'email': 'jeff.yemin@10gen.com'}

Message: Fix and re-enable failing command monitoring tests on MongoDB 4.2+

Make the tests pass again by ignoring extra fields in the writeError
document; these extra fields (e.g. keyPattern) are being inserted by
MongoDB 4.2+

JAVA-3098
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/56d6e917a19ed805e6cec28bdea27e66ab92eea8

Comment by Githook User [ 14/Jan/19 ]

Author:

{'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}

Message: Disable command monitoring tests failing against 4.1 server

JAVA-3098
Branch: 3.10.x
https://github.com/mongodb/mongo-java-driver/commit/17706cb98327b12b69968fc20b572b0ee36f2e31

Comment by Githook User [ 21/Nov/18 ]

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@10gen.com', 'username': 'jyemin'}

Message: Disable command monitoring tests failing against 4.1 server

JAVA-3098
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/eb273f05b3d073d72a6fc54fe9badc5a662da385

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