[SERVER-26933] Add interval parameter to assert.retry Created: 07/Nov/16  Updated: 19/Nov/16  Resolved: 09/Nov/16

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.4.0-rc4

Type: Bug Priority: Major - P3
Reporter: Judah Schvimer Assignee: William Schultz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2016-11-21
Participants:

 Description   

assert.retry (https://github.com/mongodb/mongo/blob/f5c613f11f170cadd4b698d108b3c7b636913568/src/mongo/shell/assert.js#L223-L235) currently does not wait between retries. While this is appropriate default behavior, most uses of it likely want to wait some interval between retries. We should add an interval to sleep between retries with a default of 0.



 Comments   
Comment by Githook User [ 09/Nov/16 ]

Author:

{u'username': u'will62794', u'name': u'William Schultz', u'email': u'william.schultz@mongodb.com'}

Message: SERVER-26933 Add sleep interval to assert retry
Branch: master
https://github.com/mongodb/mongo/commit/b3a7f6c5c9480b7713a09339b10d616f61765a48

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