I want to verify that a service listens to a specific port. Unfortunately, startup of that service takes a couple of seconds, longer than
kitchen verify takes between converge and verify.
Is there any way to let inspec retry a test or artificially pause it for a couple of seconds?
I was able to fix the issue by adding a line
pause(10) to the test, but retry would be cleaner. Something similar to rspec-wait?