diff --git a/tests/TestHelpers/HttpRequestHelper.php b/tests/TestHelpers/HttpRequestHelper.php index bf701b6f9..2348e7d6b 100644 --- a/tests/TestHelpers/HttpRequestHelper.php +++ b/tests/TestHelpers/HttpRequestHelper.php @@ -226,7 +226,7 @@ class HttpRequestHelper { $client ); - if ($response->getStatusCode() >= 400) { + if ($response->getStatusCode() >= 400 && $response->getStatusCode() !== self::HTTP_TOO_EARLY) { $sendExceptionHappened = true; } diff --git a/tests/acceptance/features/apiAsyncUpload/delayPostprocessing.feature b/tests/acceptance/features/apiAsyncUpload/delayPostprocessing.feature index 8176ea70e..f50b23926 100644 --- a/tests/acceptance/features/apiAsyncUpload/delayPostprocessing.feature +++ b/tests/acceptance/features/apiAsyncUpload/delayPostprocessing.feature @@ -28,7 +28,7 @@ Feature: delay post-processing of uploaded files | /dav/spaces/%spaceid%/file.txt | - Scenario Outline: user sends PROPFIND request to the folder while its some files are still being processed + Scenario Outline: user sends PROPFIND request to the folder while files in the folder are still being processed Given user "Alice" has created folder "my_data" And user "Alice" has uploaded file with content "uploaded content" to "/my_data/file.txt" When user "Alice" requests "" with "PROPFIND" without retrying