mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix void return in testListProjectKey and increase spatial test timeout
- Remove `return $data` from testListProjectKey() which is declared void, causing fatal PHP error that crashed Projects and Abuse test suites - Increase waitForAllAttributes timeout to 10min for spatial column test to handle MariaDB slowness under parallel CI load Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
d2e77aa5cd
commit
fa7ebbffa8
2 files changed
+2
-4
No files matched your search
@@ -9132,8 +9132,8 @@ trait DatabasesBase
|
||||
|
||||
$this->assertEquals(202, $poly['headers']['status-code']);
|
||||
|
||||
// Wait for attributes to be available
|
||||
$this->waitForAllAttributes($databaseId, $colId);
|
||||
// Wait for attributes to be available (longer timeout for MariaDB spatial columns under parallel load)
|
||||
$this->waitForAllAttributes($databaseId, $colId, 600000);
|
||||
|
||||
// Create a new document without spatial data to test default values
|
||||
$newDocument = $this->client->call(Client::METHOD_POST, $this->getRecordUrl($databaseId, $colId), array_merge([
|
||||
|
||||
@@ -3249,8 +3249,6 @@ class ProjectsConsoleClientTest extends Scope
|
||||
]);
|
||||
|
||||
$this->assertEquals(400, $response['headers']['status-code']);
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user