> @@ -178,6 +179,42 @@ public void listOnePageOfQueues() throws Exception {
> }
> }
>
> + public void listOnePageOfQueuesFail() throws Exception {
> + MockWebServer server = mockOpenStackServer();
> + server.enqueue(new MockResponse().setBody(accessRackspace));
> + server.enqueue(new MockResponse().setResponseCode(404).setBody(""));
> +
> + try {
> + MarconiApi api = api(server.getUrl("/").toString(),
> "openstack-marconi");
> + QueueApi queueApi = api.getQueueApiForZoneAndClient("DFW",
> CLIENT_ID);
> +
> + List<Queue> queues = queueApi.list(false).concat().toList();
Just curious...as compared to the following test, why the `toList()` here?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/96/files#r12417715