~sidnei/juju-core/lxc-clone-with-overlayfs

Viewing all changes in revision 1659.

  • Committer: Tarmac
  • Author(s): Raphael Badin
  • Date: 2013-08-14 13:15:30 UTC
  • mfrom: (1651.2.4 parallel-helper)
  • Revision ID: tarmac-20130814131530-n0ph2heicuefhcia
[r=rvb] Add parallel runner utility.

Following Roger's advice, this branch adds a new parallel runner utility in utils/parallel. The utility is used to replace the custom code in the Azure provider which deletes the machines concurrently. The utility is taken from Roger's https://code.google.com/p/rog-go/ and slightly adapted (couple of variable renamed, usage of the testing utilities from juju). The code from the provider is unit-tested but since the new code does exactly the same as the old one, the tests are not affected.

https://codereview.appspot.com/12861043/

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: