-
Notifications
You must be signed in to change notification settings - Fork 66
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
Conversation
2052df3
to
58451d9
Compare
Hm this is passing locally, not sure why failing on travis |
There was a problem hiding this 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?
@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.
58451d9
to
6efc540
Compare
Checked commit agrare@6efc540 with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0 spec/models/manageiq/providers/lenovo/physical_infra_manager/refresher_spec.rb
|
Same problem, wondering if there are some difference between how the parser was invoked by the original test vs a full refresh. |
This pull request is not mergeable. Please rebase and repush. |
Closing now that #138 does a full refresh test |
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.