Well, I found the issue, it's a timing issue. TestNG is testing parallel. So basically, when you do a list of references, and right after the list of networks. It could be that in the small window between these 2 calls there has been created another network in another test (so the size of both collections will not be equal). This is the second fail you're seeing.
The first fail can be explained by the exact same issue as above, the SubnetApiLiveTest could of created a subnet in a network in the small window between the list of networks, and retrieving the details of that network. So the attribute "subnets" of that network is not equal. I'm currently looking for a solution. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/23#issuecomment-23397655
