mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Improve CI/CD flaky tests
This commit is contained in:
1 parent
3b961d18f9
commit
3aafceab40
5 files changed
+6
-15
No files matched your search
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace Appwrite\Platform\Modules\Functions\Http\Functions;
|
||||
|
||||
use Utopia\Database\Exception\Query as QueryException;
|
||||
use Appwrite\Extend\Exception;
|
||||
use Appwrite\Platform\Modules\Compute\Base;
|
||||
use Appwrite\SDK\AuthType;
|
||||
@@ -12,6 +11,7 @@ use Appwrite\Utopia\Database\Validator\Queries\Functions;
|
||||
use Appwrite\Utopia\Response;
|
||||
use Utopia\Database\Database;
|
||||
use Utopia\Database\Document;
|
||||
use Utopia\Database\Exception\Query as QueryException;
|
||||
use Utopia\Database\Query;
|
||||
use Utopia\Database\Validator\Query\Cursor;
|
||||
use Utopia\Platform\Action;
|
||||
|
||||
@@ -145,7 +145,7 @@ class Executor
|
||||
], [], true, 30);
|
||||
|
||||
// Temporary fix for race condition
|
||||
if($response['headers']['status-code'] === 500 && \str_contains($response['body']['message'], 'already in progress')) {
|
||||
if ($response['headers']['status-code'] === 500 && \str_contains($response['body']['message'], 'already in progress')) {
|
||||
return true; // OK, removal already in progress
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user