test-kitchen
test-kitchen copied to clipboard
If always_update config is setup - Then only chef update (which does a chef install)
Description
Right now if you specify always_update in your kitchen.yml - If the policyfile lock is incorrect such that the command chef install fails, the kitchen tests will fail.
Instead if you are specifying always_update it should just run the chef update command which behind the scenes also does a chef install.
This also makes it faster, currently it is doing chef install then running chef update which also calls install
Issues Resolved
N/A
Type of Change
Feat - this perhaps is a fix
Check List
- [X] New functionality includes tests
- [X] All tests pass
- [X] Commit message includes a Conventional Commit Message
It looks like the tests that are failing are also failing on main: https://github.com/test-kitchen/test-kitchen/pull/1920