> + @Test
> + public void testListGroups() {
> + for (String zone : api.getConfiguredZones()) {
> + GroupApi groupApi = api.getGroupApiForZone(zone);
> + FluentIterable<GroupState> groupsList = groupApi.listGroupStates();
> + String groupId = created.get(zone).get(0).getId();
> + for( GroupState groupState : groupsList) {
> + if( groupId.equals(groupState.getId()) ) {
> + return;
> + }
> + }
> + fail("Could not find known groupID " + groupId);
> + }
> + }
> +
> + /* TODO: uncomment when implemented
The feature is not implemented service-side yet. Will be implemented soon.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/22/files#r6021305