> @@ -59,4 +62,27 @@ void testDescribeInstances() {
> }
> }
>
> + @Test
> + void testFilterInstances() {
> + for (String region :
> view.unwrapApi(AWSEC2Api.class).getAvailabilityZoneAndRegionApi().get().describeRegions().keySet())
> {
> + Set<? extends Reservation<? extends RunningInstance>> allResults =
> client.describeInstancesInRegion(region);
> + assertNotNull(allResults);
> + assert allResults.size() >= 0 : allResults.size();
Use `assertTrue`? And `!allResults.isEmpty()`?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/194/files#r7360935