jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zack Shoylev <notificati...@github.com>
Subject Re: [jclouds] add os-hypervisors extension (#819)
Date Thu, 23 Jul 2015 04:10:50 GMT
> +import org.jclouds.http.HttpRequest;
> +import org.jclouds.http.HttpResponse;
> +import org.jclouds.openstack.nova.v2_0.NovaApi;
> +import org.jclouds.openstack.nova.v2_0.domain.regionscoped.Hypervisor;
> +import org.jclouds.openstack.nova.v2_0.domain.regionscoped.HypervisorDetails;
> +import org.jclouds.openstack.nova.v2_0.internal.BaseNovaApiExpectTest;
> +import org.testng.annotations.Test;
> +
> +import static org.testng.Assert.assertEquals;
> +import static org.testng.Assert.assertFalse;
> +import static org.testng.Assert.assertTrue;
> +
> +@Test(groups = "unit", testName = "HypervisorApiExpectTest")
> +public class HypervisorApiExpectTest extends BaseNovaApiExpectTest {
> +
> +   public void testWhenNamespaceInExtensionsListHypervisorPresent() throws Exception
{

This happens when you are doing an additional request somewhere. The mock web server will
not answer a request if a response for it is not queued. Maybe add an additional response
and see where you are doing something you don't expect.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/819/files#r35288792
Mime
View raw message