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

Add tests for chef-server-running.json #1304

Merged
merged 6 commits into from
Jun 14, 2017
Merged

Conversation

stevendanna
Copy link
Contributor

Previous Chef Server releases have broken compatibility with add-ons because we've changed the structure of /etc/opscode/chef-server-running.json. This PR adds tests for the parts of that file required by the various add-ons, upgrades, and chef-server-ctl commands.

These tests are organized according to the integration point that requires the key. As a result, some keys are tested a number of times.

srenatus and others added 6 commits June 12, 2017 17:18
So far, this includes checking for values expected by Manage, Reporting,
and Pushy Server. Some tests are there twice, but then this is because the
values are used in two places (and thus kind of independent).

Signed-off-by: Stephan Renatus <[email protected]>
Copy link
Member

@marcparadise marcparadise left a comment

Choose a reason for hiding this comment

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

This looks good. +1 on the redundant testing, so that it's specific to the test cases. Also like that you called out the deps of the specific partybus migrations in here.

@srenatus srenatus merged commit fea4447 into master Jun 14, 2017
@stevendanna stevendanna deleted the POOL-603/freddy-vs-json branch June 14, 2017 07:59
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.

3 participants