-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: PDK 1.5.0, PDK 1.6.0
-
Fix Version/s: PDK 1.6.1
-
Component/s: None
-
Labels:
-
Environment:
- Packaged PDK installations since 1.5.0.0
-
Template:customfield_10700 264279
-
Team:Puppet Developer Experience
-
Method Found:Customer Feedback
-
Release Notes:Bug Fix
-
Release Notes Summary:`pdk test unit --parallel` now creates the necessary binstubs needed to run the unit tests in parallel.
-
QA Risk Assessment:Needs Assessment
It appears that `pdk test unit --parallel` (and specifically the parallel_tests gem) is not using the correct PDK-managed ruby environment since we added the Ruby/Puppet version switching functionality in 1.5.0.
With a brand new module (`pdk new module testmod` and `pdk new class testmod`) on Ubuntu 14.04:
$ pdk test unit --parallel
|
pdk (INFO): Using Ruby 2.4.4 |
pdk (INFO): Using Puppet 5.5.2 |
[✔] Preparing to run the unit tests.
|
[✖] Running unit tests in parallel.
|
pdk (FATAL): Unit test output did not contain a valid JSON result: 1 processes for 1 specs, ~ 1 specs per process |
bundler: command not found: rspec
|
Install missing gem executables with `bundle install`
|
- relates to
-
PDK-1071 Replace parallel_tests gem with PDK-native process management
-
- Open
-