diff --git a/provision/juju/queue_test.go b/provision/juju/queue_test.go
index <HASH>..<HASH> 100644
--- a/provision/juju/queue_test.go
+++ b/provision/juju/queue_test.go
@@ -75,7 +75,9 @@ func (s *ELBSuite) TestHandleMessageWithUnits(c *C) {
 	c.Assert(instances, HasLen, 2)
 	ids := []string{instances[0].InstanceId, instances[1].InstanceId}
 	sort.Strings(ids)
-	c.Assert(ids, DeepEquals, []string{id1, id2})
+	want := []string{id1, id2}
+	sort.Strings(want)
+	c.Assert(ids, DeepEquals, want)
 	c.Assert(commandmocker.Ran(tmpdir), Equals, true)
 }
provision/juju: make test more reliable

String sorting, i-<I> < i-9 :-)