> +
> + assertThat(online).isTrue();
> + } finally {
> + server.shutdown();
> + }
> + }
> +
> + @Test(enabled = false)
> + public void testPingFailOn500() throws Exception {
> + MockWebServer server = mockOpenStackServer();
> + server.enqueue(addCommonHeaders(new
> MockResponse().setBody(stringFromResource("/access.json"))));
> + server.enqueue(addCommonHeaders(new
> MockResponse().setResponseCode(500)));
> +
> + try {
> + PoppyApi poppyApi = api(server.getUrl("/").toString(),
> "openstack-poppy", overrides);
> + boolean online = poppyApi.ping();
Yes, it hangs on the `ping()`. Note that the test is currently disabled.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/176/files#r23181622