Skip to content

Commit

Permalink
increasing getResource timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Palis <[email protected]>
  • Loading branch information
joshpalis committed Aug 14, 2024
1 parent 5ae8603 commit 85c8e18
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ public void testReprovisionWorkflow() throws Exception {
response = reprovisionWorkflow(client(), workflowId, template);
assertEquals(RestStatus.CREATED, TestHelpers.restStatus(response));

resourcesCreated = getResourcesCreated(client(), workflowId, 10);
resourcesCreated = getResourcesCreated(client(), workflowId, 30);
assertEquals(4, resourcesCreated.size());
resourceIds = resourcesCreated.stream().map(x -> x.workflowStepName()).collect(Collectors.toList());
assertTrue(resourceIds.contains("create_connector"));
Expand All @@ -386,7 +386,7 @@ public void testReprovisionWorkflow() throws Exception {
response = reprovisionWorkflow(client(), workflowId, template);
assertEquals(RestStatus.CREATED, TestHelpers.restStatus(response));

resourcesCreated = getResourcesCreated(client(), workflowId, 10);
resourcesCreated = getResourcesCreated(client(), workflowId, 30);
assertEquals(5, resourcesCreated.size());
resourceIds = resourcesCreated.stream().map(x -> x.workflowStepName()).collect(Collectors.toList());
assertTrue(resourceIds.contains("create_connector"));
Expand All @@ -408,7 +408,7 @@ public void testReprovisionWorkflow() throws Exception {
response = reprovisionWorkflow(client(), workflowId, template);
assertEquals(RestStatus.CREATED, TestHelpers.restStatus(response));

resourcesCreated = getResourcesCreated(client(), workflowId, 10);
resourcesCreated = getResourcesCreated(client(), workflowId, 30);
// resource count should remain unchanged when updating an existing node
assertEquals(5, resourcesCreated.size());

Expand Down Expand Up @@ -459,7 +459,7 @@ public void testReprovisionWorkflowMidNodeAddition() throws Exception {
response = reprovisionWorkflow(client(), workflowId, template);
assertEquals(RestStatus.CREATED, TestHelpers.restStatus(response));

resourcesCreated = getResourcesCreated(client(), workflowId, 10);
resourcesCreated = getResourcesCreated(client(), workflowId, 30);
assertEquals(5, resourcesCreated.size());
resourceIds = resourcesCreated.stream().map(x -> x.workflowStepName()).collect(Collectors.toList());
assertTrue(resourceIds.contains("create_connector"));
Expand Down

0 comments on commit 85c8e18

Please sign in to comment.