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

Optimize tests #159

Merged
merged 2 commits into from
Jan 6, 2017
Merged

Optimize tests #159

merged 2 commits into from
Jan 6, 2017

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Nov 22, 2016

By using on_supported_os we can benefit from ONLY_OS thus reducing our test runtime. The use of verify_exact_contents makes it slightly easier to read.

@ekohl
Copy link
Member Author

ekohl commented Nov 22, 2016

It looks like the difference is negligible since we only support RH7, C7 and SL7 but ONLY_OS is set to RH7 and SL7.

@ehelms
Copy link
Member

ehelms commented Jan 6, 2017

@ekohl did you still want this merged?

@ekohl
Copy link
Member Author

ekohl commented Jan 6, 2017

@ehelms yes

ekohl added 2 commits January 6, 2017 14:13
This allows us to benefit from ONLY_OS as used in the travis config.
This achieves the same but is slightly easier to read.
@ekohl
Copy link
Member Author

ekohl commented Jan 6, 2017

I rebased this and when the tests are green I intend to merge this.

@ekohl ekohl merged commit e641ea2 into theforeman:master Jan 6, 2017
@ekohl ekohl deleted the optimize-tests branch January 6, 2017 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants