Skip to content

Conversation

@p-mongo
Copy link
Contributor

@p-mongo p-mongo commented Jun 25, 2018

Looks like even a 2 second time delta is not always sufficient,
thus instead of always accepting a huge delta insist on a small delta
but run the test several times until it succeeds.

Looks like even a 2 second time delta is not always sufficient,
thus instead of always accepting a huge delta insist on a small delta
but run the test several times until it succeeds.
@p-mongo p-mongo changed the title Use rspec-retry to retry this test up to 3 times. Improve test reliability Jun 25, 2018
@p-mongo p-mongo requested a review from saghm June 26, 2018 01:37
@p-mongo p-mongo merged commit e14cea9 into mongodb:master Jun 26, 2018
@p-mongo p-mongo deleted the test-reliability branch June 26, 2018 15:27
p-mongo pushed a commit to p-mongo/mongo-ruby-driver that referenced this pull request Jun 26, 2018
* master:
  RUBY-1340 Provide Transactions example for Docs (mongodb#976)
  RUBY-1347 Do not use sessions by default in parallel scan. (mongodb#974)
  Use rspec-retry to retry this test up to 3 times. (mongodb#977)
  RUBY-1267 Atlas connectivity tests for Ruby driver (mongodb#965)
  RUBY-1372 Translate replica set option to correct uri parameter
  Update copyright year prior to release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants