[JAVA-4152] Improve assertion messages in unified test runner Created: 12/May/21  Updated: 28/Oct/23  Resolved: 14/May/21

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

Type: Improvement Priority: Unknown
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Add context for starting and completing an operation in order to aid debugging when an operation assertion fires.



 Comments   
Comment by Githook User [ 14/May/21 ]

Author:

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

Message: Improve assertion messages in unified test runner (#708)

  • Add a context for operation execution. This provides context when the
    operation itself asserts
  • Include the index of the operation in the operations array. This helps
    when there are multiple operations that are identical and you want to
    be able to determine which one failed

JAVA-4152
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/fb4c293b5e5bc8af9b6c422cc09acd84a903cf43

Generated at Thu Feb 08 09:01:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.