Skip to content

Commit

Permalink
[fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case f…
Browse files Browse the repository at this point in the history
…or calculating the NodeSize.
  • Loading branch information
mohit-singh4 committed Nov 12, 2024
1 parent 5f15527 commit b19b573
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ public void calculateNodeSizeForSingleFile() throws Exception
.and().field("content.mimeType").is(FileType.TEXT_PLAIN.mimeType);
fileSize = Utility.getResourceTestDataFile("sampleLargeContent.txt").length();

STEP("3. Wait for 20 seconds so that the content is indexed in Search Service.");
Thread.sleep(20000);
STEP("3. Wait for 30 seconds so that the content is indexed in Search Service.");
Thread.sleep(30000);

RestSizeDetailsModel restSizeDetailsModel = restClient.authenticateUser(user1).withCoreAPI().usingNode(folder).executeSizeDetails();
restClient.assertStatusCodeIs(HttpStatus.ACCEPTED);
Expand Down

0 comments on commit b19b573

Please sign in to comment.