[CDRIVER-3427] Handle json_test_operation return value Created: 04/Nov/19  Updated: 31/Mar/22

Status: Backlog
Project: C Driver
Component/s: tests
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Clyde Bazile III (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: CDRIVER-2733

 Description   

For each operation in JSON tests, we run the method json_test_operation which conditionally checks the operation name, runs the appropriate method, .e.g, count or insertOne, and returns a boolean on whether the operation's method succeeded or failed.

As of now, we don't handle the boolean returned by json_test_operation at all. Instead, we assume that the operation's method, e.g., insertOne will assert that its operation succeeded. If an operation's method were to return false or just not assert anything we would not know. The returned value of json_test_operation should be checked.


Generated at Wed Feb 07 21:18:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.