Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
PDK 1.5.0, PDK 1.6.0
-
None
-
- Packaged PDK installations since 1.5.0.0
-
Puppet Developer Experience
-
Customer Feedback
-
Bug Fix
-
`pdk test unit --parallel` now creates the necessary binstubs needed to run the unit tests in parallel.
-
Needs Assessment
Description
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`
|
Attachments
Issue Links
- relates to
-
PDK-1071 Replace parallel_tests gem with PDK-native process management
-
- Open
-