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

Test the end-to-end refresh in the refresher_spec #89

Closed
wants to merge 1 commit into from

Conversation

agrare
Copy link
Member

@agrare agrare commented Oct 13, 2017

Instead of just testing parse with vcr, then saving no inventory we can
run the full EmsRefresh.refresh in the vcr block so we can test
relationship links created in save_ems_inventory in the future.

@agrare agrare added the test label Oct 13, 2017
@agrare agrare force-pushed the test_full_refresh branch from 2052df3 to 58451d9 Compare October 13, 2017 13:26
@agrare
Copy link
Member Author

agrare commented Oct 13, 2017

Hm this is passing locally, not sure why failing on travis

Copy link
Contributor

@rodneyhbrown7 rodneyhbrown7 left a comment

Choose a reason for hiding this comment

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

LGTM once the travis test are running successfully. Does this need to be closed and re-opened?

@rodneyhbrown7
Copy link
Contributor

@agrare Can you close and reopen this PR to see if it will pass travis tests?

Instead of just testing parse with vcr, then saving no inventory we can
run the full EmsRefresh.refresh in the vcr block so we can test
relationship links created in save_ems_inventory in the future.
@agrare agrare force-pushed the test_full_refresh branch from 58451d9 to 6efc540 Compare October 26, 2017 15:59
@miq-bot
Copy link
Member

miq-bot commented Oct 26, 2017

Checked commit agrare@6efc540 with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0
1 file checked, 2 offenses detected

spec/models/manageiq/providers/lenovo/physical_infra_manager/refresher_spec.rb

@agrare
Copy link
Member Author

agrare commented Oct 26, 2017

Same problem, wondering if there are some difference between how the parser was invoked by the original test vs a full refresh.

@miq-bot
Copy link
Member

miq-bot commented Jan 8, 2018

This pull request is not mergeable. Please rebase and repush.

@agrare
Copy link
Member Author

agrare commented Mar 26, 2018

Closing now that #138 does a full refresh test

@agrare agrare closed this Mar 26, 2018
@agrare agrare deleted the test_full_refresh branch March 26, 2018 15:28
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.

3 participants