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

Fix release_checks without parallel_tests #211

Merged
merged 3 commits into from
Sep 18, 2017

Conversation

sean797
Copy link
Contributor

@sean797 sean797 commented Sep 12, 2017

:release_checks attempts :parallel_spec then :spec if it fails, with 920d647 which causes :spec_clean to be invoked twice if parallel_tests is not installed, but crucially it doesn't execute it twice and therefore causes check:symlinks to fail every time when ran via :release_checks without parallel_tests gem

:release_checks attempts :parallel_spec then :spec if it fails, with puppetlabs@920d647 this causes :spec_clean to be invoked twice if parallel_tests is not installed, but crucially it doesn't execute it twice and therefore causes check:symlinks to fail every time.
Copy link
Contributor

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

So this is the issue I was running into as well. Thanks!

With this change :parallel_spec only runs cleanup, if it loaded successfully
@DavidS
Copy link
Contributor

DavidS commented Sep 12, 2017

I've updated this with a bit of cleanup.

@sean797 @ekohl I'd be grateful if one of you could test if that is actually working before we get this merged.

@puppetcla
Copy link

Waiting for CLA signature by @sean797

@sean797 - We require a Contributor License Agreement (CLA) for people who contribute to Puppet, but we have an easy click-through license with instructions, which is available at https://cla.puppet.com/

Note: if your contribution is trivial and you think it may be exempt from the CLA, please post a short reply to this comment with details. http://docs.puppet.com/community/trivial_patch_exemption.html

@puppetcla
Copy link

CLA signed by all contributors.

1 similar comment
@puppetcla
Copy link

CLA signed by all contributors.

@sean797
Copy link
Contributor Author

sean797 commented Sep 14, 2017

Yes, that works for me.

@DavidS DavidS merged commit a38e1aa into puppetlabs:master Sep 18, 2017
@sean797 sean797 deleted the fix-standalone-spec branch September 22, 2017 14:01
@chelnak chelnak added the bug label Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants