-
Notifications
You must be signed in to change notification settings - Fork 166
Fix flakey IPP sample data rake spec #7363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -330,7 +330,7 @@ | |
| stub_request_token | ||
| stub_request_enroll | ||
|
|
||
| expect_any_instance_of(Object).to receive(:sleep).exactly(10).times.with(0.2) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh I didn't even see we had
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For my own curiosity, is it generally bad practice to use
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. personally I think that However, the And I think the issue here is that
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Got it, thank you. |
||
| expect(SampleDataCreator).to receive(:delay).exactly(10).times.with(0.2) | ||
|
|
||
| Rake::Task['dev:random_in_person_users'].invoke | ||
| end | ||
|
|
@@ -436,7 +436,7 @@ | |
| ).times(1) | ||
| expect(UspsInPersonProofing::EnrollmentHelper). | ||
| to receive(:schedule_in_person_enrollment).and_call_original.exactly(3).times | ||
| expect_any_instance_of(Object).to receive(:sleep).exactly(3).times.with(0.2) | ||
| expect(SampleDataCreator).to receive(:delay).exactly(3).times.with(0.2) | ||
|
|
||
| Rake::Task['dev:random_in_person_users'].invoke | ||
| end | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.