Merge pull request #1802 from opencloud-eu/increaseTimeoutForNotification

increase timeouts waiting for notification & search
This commit is contained in:
Artur Neumann
2025-11-07 14:15:27 +05:45
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -399,7 +399,7 @@ class NotificationContext implements Context {
$this->featureContext->theHTTPStatusCodeShouldBe(200, "", $response);
++$count;
} while (!isset($this->filterResponseAccordingToNotificationSubject($subject, $response)->message)
&& $count <= 5
&& $count <= 10
);
if (isset($this->filterResponseAccordingToNotificationSubject($subject, $response)->message)) {
$actualMessage = str_replace(
+1 -1
View File
@@ -147,7 +147,7 @@ class SearchContext implements Context {
): void {
// NOTE: because indexing of newly uploaded files or directories with OpenCloud is decoupled and occurs asynchronously
// short wait is necessary before searching
sleep(5);
sleep(10);
$response = $this->searchFiles($user, $pattern, $limit, null, null, null, $properties);
$this->featureContext->setResponse($response);
}