mongodb / specifications

Specifications related to MongoDB
http://specifications.readthedocs.io/en/latest
Other
389 stars 242 forks source link

Remove result expectation in command monitoring tests #1604

Closed alcaeus closed 4 months ago

alcaeus commented 4 months ago

This removes a command expectation for a find command in the command monitoring tests. We've observed frequent failures on sharded clusters, which we assume are related to replication lag. Since the goal of the test is to test command monitoring for writes with w: 0 and not the successful execution of such writes, I assume it's safe to remove the result expectation to reduce flakiness.