Skip to content

Commit

Permalink
wait 5 seconds before search (#7733)
Browse files Browse the repository at this point in the history
  • Loading branch information
saw-jan authored Nov 16, 2023
1 parent 44233ad commit a4e7a64
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/acceptance/features/bootstrap/SearchContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ public function userSearchesUsingWebDavAPI(
?string $spaceName = null,
TableNode $properties = null
): void {
// Because indexing of newly uploaded files or directories with ocis is decoupled and occurs asynchronously, a short wait is necessary before searching files or folders.
sleep(4);
// NOTE: because indexing of newly uploaded files or directories with ocis is decoupled and occurs asynchronously
// short wait is necessary before searching
sleep(5);
$user = $this->featureContext->getActualUsername($user);
$baseUrl = $this->featureContext->getBaseUrl();
$password = $this->featureContext->getPasswordForUser($user);
Expand Down

0 comments on commit a4e7a64

Please sign in to comment.