X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=openstack%2Fnet-virt-it%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fovsdb%2Fopenstack%2Fnetvirt%2Fit%2FNetvirtIT.java;h=31183ef5371850c3cdf27cd9625fd116c9ac8b2e;hb=cf6bc3355c4c4a90bae54e4c29310d809cbca11e;hp=3cfb7f28a54c33385f2fbf0c903b10560d8ac62d;hpb=d83956db8bd47988612f9ee43076d5365a44a49c;p=netvirt.git diff --git a/openstack/net-virt-it/src/test/java/org/opendaylight/ovsdb/openstack/netvirt/it/NetvirtIT.java b/openstack/net-virt-it/src/test/java/org/opendaylight/ovsdb/openstack/netvirt/it/NetvirtIT.java index 3cfb7f28a5..31183ef537 100644 --- a/openstack/net-virt-it/src/test/java/org/opendaylight/ovsdb/openstack/netvirt/it/NetvirtIT.java +++ b/openstack/net-virt-it/src/test/java/org/opendaylight/ovsdb/openstack/netvirt/it/NetvirtIT.java @@ -162,7 +162,8 @@ public class NetvirtIT extends AbstractMdsalTestBase { return new Option[] { propagateSystemProperties(NetvirtITConstants.SERVER_IPADDRESS, NetvirtITConstants.SERVER_PORT, NetvirtITConstants.CONNECTION_TYPE, - NetvirtITConstants.CONTROLLER_IPADDRESS), + NetvirtITConstants.CONTROLLER_IPADDRESS, + NetvirtITConstants.USERSPACE_ENABLED) }; } @@ -192,9 +193,11 @@ public class NetvirtIT extends AbstractMdsalTestBase { addressStr = props.getProperty(NetvirtITConstants.SERVER_IPADDRESS); portStr = props.getProperty(NetvirtITConstants.SERVER_PORT, NetvirtITConstants.DEFAULT_SERVER_PORT); connectionType = props.getProperty(NetvirtITConstants.CONNECTION_TYPE, "active"); - controllerStr = props.getProperty(NetvirtITConstants.CONTROLLER_IPADDRESS); - LOG.info("setUp: Using the following properties: mode= {}, ip:port= {}:{}, controller ip: {}", - connectionType, addressStr, portStr, controllerStr); + controllerStr = props.getProperty(NetvirtITConstants.CONTROLLER_IPADDRESS, "0.0.0.0"); + String userSpaceEnabled = props.getProperty(NetvirtITConstants.USERSPACE_ENABLED, "no"); + LOG.info("setUp: Using the following properties: mode= {}, ip:port= {}:{}, controller ip: {}, " + + "userspace.enabled: {}", + connectionType, addressStr, portStr, controllerStr, userSpaceEnabled); if (connectionType.equalsIgnoreCase(NetvirtITConstants.CONNECTION_TYPE_ACTIVE)) { if (addressStr == null) { fail(usage()); @@ -664,13 +667,12 @@ public class NetvirtIT extends AbstractMdsalTestBase { * * @throws InterruptedException */ - @Ignore @Test public void testNetVirt() throws InterruptedException { ConnectionInfo connectionInfo = getConnectionInfo(addressStr, portStr); Node ovsdbNode = connectOvsdbNode(connectionInfo); - Thread.sleep(30000); + Thread.sleep(15000); // Verify the pipeline flows were installed PipelineOrchestrator pipelineOrchestrator = (PipelineOrchestrator) ServiceHelper.getGlobalInstance(PipelineOrchestrator.class, this);