commit | 1d63993b06b99f272b540984f9f7de0318b76d8f | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Fri Apr 21 14:22:49 2017 -0700 |
committer | Satishk-Huawei <satishk@huawei.com> | Mon Apr 24 06:41:51 2017 +0000 |
tree | 3824c9ff0103b16da4ad6b37d1f58a5d5680e313 | |
parent | 66372fd867b5506f4e55d9c9bc68c264c8c33786 [diff] |
fix transient test failure Change-Id: If048603536b95fc6f7e698f1a0899ce46eee6f97
diff --git a/apps/pce/pcerest/src/test/java/org/onosproject/pcerest/PceResourceTest.java b/apps/pce/pcerest/src/test/java/org/onosproject/pcerest/PceResourceTest.java index 18fa46b..ee651a0 100644 --- a/apps/pce/pcerest/src/test/java/org/onosproject/pcerest/PceResourceTest.java +++ b/apps/pce/pcerest/src/test/java/org/onosproject/pcerest/PceResourceTest.java
@@ -17,6 +17,7 @@ import org.glassfish.jersey.server.ResourceConfig; import org.glassfish.jersey.test.JerseyTest; +import org.glassfish.jersey.test.TestProperties; /** * Base class for pce rest api tests. Performs common configuration operations. @@ -28,5 +29,6 @@ */ public PceResourceTest() { super(ResourceConfig.forApplicationClass(PceWebApplication.class)); + set(TestProperties.CONTAINER_PORT, 0); } }