Fixes a race condition in the kill tests where the container would be killed but inspected before it's state changed. Fixes this by waiting for a state change instead. Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com> Upstream-commit: ff42a1ab5348944c6d675575b00959b87b2c4032 Component: engine