mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: increase GraphQL Legacy attribute polling timeout to 240s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
0c7a9290bd
commit
eb082cdd86
@@ -218,7 +218,7 @@ class DatabaseClientTest extends Scope
|
||||
'x-appwrite-key' => $this->getProject()['apiKey'],
|
||||
]);
|
||||
$this->assertEquals('available', $response['body']['status']);
|
||||
}, 30000, 250);
|
||||
}, 240000, 500);
|
||||
$this->assertEventually(function () use ($data) {
|
||||
$response = $this->client->call(Client::METHOD_GET, '/databases/' . $data['database']['_id'] . '/collections/' . $data['collection']['_id'] . '/attributes/age', [
|
||||
'content-type' => 'application/json',
|
||||
@@ -226,7 +226,7 @@ class DatabaseClientTest extends Scope
|
||||
'x-appwrite-key' => $this->getProject()['apiKey'],
|
||||
]);
|
||||
$this->assertEquals('available', $response['body']['status']);
|
||||
}, 30000, 250);
|
||||
}, 240000, 500);
|
||||
|
||||
$projectId = $this->getProject()['$id'];
|
||||
$query = $this->getQuery(self::CREATE_DOCUMENT);
|
||||
@@ -333,7 +333,7 @@ class DatabaseClientTest extends Scope
|
||||
'x-appwrite-key' => $this->getProject()['apiKey'],
|
||||
]);
|
||||
$this->assertEquals('available', $response['body']['status']);
|
||||
}, 30000, 250);
|
||||
}, 240000, 500);
|
||||
|
||||
// Step 4: Create documents
|
||||
$query = $this->getQuery(self::CREATE_DOCUMENTS);
|
||||
@@ -635,7 +635,7 @@ class DatabaseClientTest extends Scope
|
||||
'x-appwrite-key' => $this->getProject()['apiKey'],
|
||||
]);
|
||||
$this->assertEquals('available', $response['body']['status']);
|
||||
}, 30000, 250);
|
||||
}, 240000, 500);
|
||||
$this->assertEventually(function () use ($data) {
|
||||
$response = $this->client->call(Client::METHOD_GET, '/databases/' . $data['database']['_id'] . '/collections/' . $data['collection']['_id'] . '/attributes/age', [
|
||||
'content-type' => 'application/json',
|
||||
@@ -643,7 +643,7 @@ class DatabaseClientTest extends Scope
|
||||
'x-appwrite-key' => $this->getProject()['apiKey'],
|
||||
]);
|
||||
$this->assertEquals('available', $response['body']['status']);
|
||||
}, 30000, 250);
|
||||
}, 240000, 500);
|
||||
|
||||
$projectId = $this->getProject()['$id'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user