> @@ -192,6 +196,12 @@ private ServerRequest(String name, String imageRef,
> String flavorRef) {
> if (adminPass != null) {
> server.adminPass = adminPass;
> }
> + if (!networks.isEmpty()) {
> + server.networks = Sets.newLinkedHashSet();
> Because of how tests work unordered maps can sometimes cause failures (so
> they make tests unstable)
Urgh...that feels nasty. If items are unordered by contract the tests should
not rely on them being in a certain order. If items should be ordered we should
use a sorted set. At least add a comment that this is to ensure order for tests?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/72/files#r5512874