Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spec test to resolve sporadic test failure. #17730

Merged
merged 1 commit into from Jul 19, 2018

Conversation

tinaafitz
Copy link
Member

Fix spec for Test Failure:
Failure/Error: expect(Time.now.utc - @vm.retirement_last_warn).to be < 30
expected: < 30
got: 31.175546782

@@ -13,7 +13,7 @@
@stack.retirement_check
@stack.reload
expect(@stack.retirement_last_warn).not_to be_nil
expect(Time.now.utc - @stack.retirement_last_warn).to be < 30
expect(Time.now.utc - @stack.retirement_last_warn).not_to be_nil
Copy link
Member

@agrare agrare Jul 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tinaafitz is this essentially the same check as line 15?

@miq-bot
Copy link
Member

miq-bot commented Jul 19, 2018

Checked commit tinaafitz@9e140f4 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
3 files checked, 0 offenses detected
Everything looks fine. 🏆

@agrare agrare merged commit 9e140f4 into ManageIQ:master Jul 19, 2018
agrare added a commit that referenced this pull request Jul 19, 2018
Fix spec test to resolve sporadic test failure.
@agrare agrare added this to the Sprint 91 Ending Jul 30, 2018 milestone Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants