Fix intermittent build failures (#8312)

This commit is contained in:
Vishesh 2023-12-07 18:33:26 +05:30 committed by GitHub
parent 88f64de848
commit 4e9c4a5895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" +