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

Fixes #11708 - removed auto_provisioning RABL, improved unit tests #214

Closed
wants to merge 1 commit into from

Conversation

lzap
Copy link
Member

@lzap lzap commented Sep 8, 2015

It looks like the RABL files are useless for auto_provison actions as we only
check HTTP code in the CLI and there is no need to render any info. More info
in the issue.

I also improved our unit tests, removed skipped test and added refute keyword
to tests where we expect failures actually (we test ERB in these).

@orabin ?

@lzap
Copy link
Member Author

lzap commented Sep 8, 2015

I mean @orrabin

@@ -154,6 +160,8 @@ def auto_provision_all
errors = discovered_host.errors.full_messages.join(' ')
logger.warn "Failed to auto provision host %s: %s" % [discovered_host.name, errors]
overall_errors << "#{discovered_host.name}: #{errors} "
else
total_count = total_count + 1
Copy link
Member

Choose a reason for hiding this comment

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

total_count += 1

@lzap
Copy link
Member Author

lzap commented Sep 11, 2015

Amended, please merge as this blocks our unit tests on develop.

@lzap
Copy link
Member Author

lzap commented Sep 11, 2015

I hope I can skip "Waiting for stable build of 'test_plugin_foreman_discovery_develop'" with [test]. Let's see. @orrabin can you merge this with a priority please? Thanks!

@stbenjam
Copy link
Member

@stbenjam
Copy link
Member

Merged as 3e16cea, thanks @lzap

@stbenjam stbenjam closed this Sep 14, 2015
@lzap lzap deleted the rabl-removal-11708 branch September 14, 2015 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants