Closed tvansteenburgh closed 9 years ago
I'd like to see deploy_w_timeout changed to use the timeout_gen, but it's not the end of the world.
@johnsca I don't see how we can use timeout_gen since in the one place where deploy_w_timeout is used, the context that it yields to blocks until the timeout would be expired anyway. Am I missing something?
Ah, you're right. Wrapping a blocking call (subprocess) is the case where the SIGALRM-based timeout is better. Ignore my comment.
Fixes this error: http://reports.vapour.ws/all-bundle-and-charm-results/charm-bundle-test-parent-1003/charm/azure/3