This is an automated email from the ASF dual-hosted git repository.
weizhou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 4e9c4a5895b Fix intermittent build failures (#8312)
4e9c4a5895b is described below
commit 4e9c4a5895b30179bc9e1701d81a37a370990ede
Author: Vishesh <[email protected]>
AuthorDate: Thu Dec 7 18:33:26 2023 +0530
Fix intermittent build failures (#8312)
---
.../org/apache/backup/networker/NetworkerClientTest.java | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git
a/plugins/backup/networker/src/test/java/org/apache/backup/networker/NetworkerClientTest.java
b/plugins/backup/networker/src/test/java/org/apache/backup/networker/NetworkerClientTest.java
index 82284f9a1e0..96f8a7a7977 100644
---
a/plugins/backup/networker/src/test/java/org/apache/backup/networker/NetworkerClientTest.java
+++
b/plugins/backup/networker/src/test/java/org/apache/backup/networker/NetworkerClientTest.java
@@ -46,7 +46,7 @@ import com.github.tomakehurst.wiremock.junit.WireMockRule;
public class NetworkerClientTest {
private final String adminUsername = "administrator";
private final String adminPassword = "password";
- private final int port = 9399;
+ private final int port = 9400;
private final String url = "http://localhost:" + port + "/nwrestapi/v3";
private NetworkerClient client;
@Rule
@@ -87,7 +87,7 @@ public class NetworkerClientTest {
" \"comment\": \"-CSBKP-\",\n" +
" \"links\": [\n" +
" {\n" +
- " \"href\":
\"http://localhost:9399/nwrestapi/v3/global/protectionpolicies/CSBRONZE\",\n" +
+ " \"href\":
\"http://localhost:9400/nwrestapi/v3/global/protectionpolicies/CSBRONZE\",\n" +
" \"rel\": \"item\"\n" +
" }\n" +
" ],\n" +
@@ -108,7 +108,7 @@ public class NetworkerClientTest {
" \"comment\": \"-CSBKP-\",\n" +
" \"links\": [\n" +
" {\n" +
- " \"href\":
\"http://localhost:9399/nwrestapi/v3/global/protectionpolicies/CSGOLD\",\n" +
+ " \"href\":
\"http://localhost:9400/nwrestapi/v3/global/protectionpolicies/CSGOLD\",\n" +
" \"rel\": \"item\"\n" +
" }\n" +
" ],\n" +
@@ -129,7 +129,7 @@ public class NetworkerClientTest {
" \"comment\": \"-CSBKP-\",\n" +
" \"links\": [\n" +
" {\n" +
- " \"href\":
\"http://localhost:9399/nwrestapi/v3/global/protectionpolicies/CSSILVER\",\n" +
+ " \"href\":
\"http://localhost:9400/nwrestapi/v3/global/protectionpolicies/CSSILVER\",\n" +
" \"rel\": \"item\"\n" +
" }\n" +
" ],\n" +
@@ -210,7 +210,7 @@ public class NetworkerClientTest {
" \"level\": \"Manual\",\n" +
" \"links\": [\n" +
" {\n" +
- " \"href\":
\"http://localhost:9399/nwrestapi/v3/global/backups/6034732f-00000006-7acd14e3-62cd14e3-00871500-5a80015d\",\n"
+
+ " \"href\":
\"http://localhost:9400/nwrestapi/v3/global/backups/6034732f-00000006-7acd14e3-62cd14e3-00871500-5a80015d\",\n"
+
" \"rel\": \"item\"\n" +
" }\n" +
" ],\n" +
@@ -271,7 +271,7 @@ public class NetworkerClientTest {
" \"level\": \"Manual\",\n" +
" \"links\": [\n" +
" {\n" +
- " \"href\":
\"http://localhost:9399/nwrestapi/v3/global/backups/98d29c5e-00000006-81ccda87-62ccda87-00801500-5a80015d\",\n"
+
+ " \"href\":
\"http://localhost:9400/nwrestapi/v3/global/backups/98d29c5e-00000006-81ccda87-62ccda87-00801500-5a80015d\",\n"
+
" \"rel\": \"item\"\n" +
" }\n" +
" ],\n" +
@@ -332,7 +332,7 @@ public class NetworkerClientTest {
" \"level\": \"Manual\",\n" +
" \"links\": [\n" +
" {\n" +
- " \"href\":
\"http://localhost:9399/nwrestapi/v3/global/backups/d371d629-00000006-84ccd61b-62ccd61b-007d1500-5a80015d\",\n"
+
+ " \"href\":
\"http://localhost:9400/nwrestapi/v3/global/backups/d371d629-00000006-84ccd61b-62ccd61b-007d1500-5a80015d\",\n"
+
" \"rel\": \"item\"\n" +
" }\n" +
" ],\n" +