[SERVER-28927] add unit tests for the ARS Created: 21/Apr/17  Updated: 06/Dec/22  Resolved: 01/Nov/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding
Participants:

 Comments   
Comment by Esha Maharishi (Inactive) [ 01/Nov/20 ]

This is an old cleanup ticket that wouldn't be scheduled independently. It may get done as part of other work.

Comment by Esha Maharishi (Inactive) [ 09/Nov/17 ]

If we add more unit tests under this ticket, it should probably be around the ARS's cancel/kill behavior.

Comment by Esha Maharishi (Inactive) [ 02/Nov/17 ]

Note: significant unit test coverage was added under SERVER-28874 through testing establishCursors(), which is a direct consumer of the ARS.

Test cases added:

NoRemotes
SingleRemoteRespondsWithSuccess
SingleRemoteRespondsWithNonretriableError
SingleRemoteRespondsWithNonretriableErrorAllowPartialResults
SingleRemoteRespondsWithRetriableErrorThenSuccess
SingleRemoteRespondsWithRetriableErrorThenSuccessAllowPartialResults
SingleRemoteMaxesOutRetriableErrors
SingleRemoteMaxesOutRetriableErrorsAllowPartialResults
MultipleRemotesRespondWithSuccess
MultipleRemotesOneRemoteRespondsWithNonretriableError
MultipleRemotesOneRemoteRespondsWithNonretriableErrorAllowPartialResults
MultipleRemotesOneRemoteRespondsWithRetriableErrorThenSuccess
MultipleRemotesOneRemoteRespondsWithRetriableErrorThenSuccessAllowPartialResults
MultipleRemotesOneRemoteMaxesOutRetriableErrors
MultipleRemotesOneRemoteMaxesOutRetriableErrorsAllowPartialResults

Generated at Thu Feb 08 04:19:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.