You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a post-verify lifecycle hook that is used to collect data from the virtual machine after the verification phase.
It runs when the single test passes, however, it never executes when the single test fails.
Steps to Reproduce:
Include a post_verify lifecycle hook in your Test Kitchen configuration file:
lifecycle:
post_verify:
- <DO SOMETHING>
Create a test that always fails. Notice how the hook does not execute.
Create a test that always passes. Notice how the hook does execute.
Expected Result:
Expect all command to execute regardless of test results.
Actual Result:
The commands do not execute if the test fails.
The text was updated successfully, but these errors were encountered:
Version:
kitchen-inspec 2.4.0
Environment:
Virtual machine running Ubuntu 20.04
Scenario:
I have a post-verify lifecycle hook that is used to collect data from the virtual machine after the verification phase.
It runs when the single test passes, however, it never executes when the single test fails.
Steps to Reproduce:
Include a post_verify lifecycle hook in your Test Kitchen configuration file:
Create a test that always fails. Notice how the hook does not execute.
Create a test that always passes. Notice how the hook does execute.
Expected Result:
Expect all command to execute regardless of test results.
Actual Result:
The commands do not execute if the test fails.
The text was updated successfully, but these errors were encountered: