[SERVER-50157] Add InSequence in network mock framework Created: 06/Aug/20  Updated: 29/Oct/23  Resolved: 07/Dec/20

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Vesselina Ratcheva (Inactive)
Resolution: Fixed Votes: 0
Labels: mock-network, pm-1791_milestone-D
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Repl 2020-11-02, Repl 2020-11-16, Repl 2020-11-30, Repl 2020-12-14
Participants:

 Description   

gmock supports InSequence class, which checks the ordering of the expectations.



 Comments   
Comment by Githook User [ 07/Dec/20 ]

Author:

{'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}

Message: SERVER-50157 Add usage notes for MockNetwork::InSequence
Branch: master
https://github.com/mongodb/mongo/commit/4e9c34e835a639c95cf6fd21a7edf62df75b0580

Comment by Githook User [ 06/Dec/20 ]

Author:

{'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}

Message: SERVER-50157 Add Sequence to network mock framework
Branch: master
https://github.com/mongodb/mongo/commit/af3c639e74ccd9e21540af204b5875f64516584a

Comment by Siyuan Zhou [ 28/Oct/20 ]

Please consider adding a summary comment at the beginning of Mock class to demonstrate the basic usage. It can also be done in a separate ticket.

Generated at Thu Feb 08 05:21:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.