This will hopefully make the tests more robust by replacing a fixed 3s sleep with a polling loop that looks at whether the key PEM file is encrypted or not. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com> Upstream-commit: 17173efbe00d422392f91c672350266314808b28 Component: engine