mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Revert "(fix): increase GraphQL schema polling timeouts to match CI expectations"
This reverts commit 4e32497be1.
This commit is contained in:
@@ -182,7 +182,7 @@ class AbuseTest extends Scope
|
||||
'x-appwrite-key' => $this->getProject()['apiKey'],
|
||||
]);
|
||||
$this->assertEquals('available', $response['body']['status']);
|
||||
}, 240000, 500);
|
||||
}, 30000, 250);
|
||||
|
||||
return [
|
||||
'databaseId' => $databaseId,
|
||||
|
||||
@@ -149,7 +149,7 @@ class AuthTest extends Scope
|
||||
'x-appwrite-key' => $this->getProject()['apiKey'],
|
||||
]);
|
||||
$this->assertEquals('available', $response['body']['status']);
|
||||
}, 240000, 500);
|
||||
}, 30000, 250);
|
||||
}
|
||||
|
||||
public function testInvalidAuth()
|
||||
|
||||
@@ -218,7 +218,7 @@ class DatabaseClientTest extends Scope
|
||||
'x-appwrite-key' => $this->getProject()['apiKey'],
|
||||
]);
|
||||
$this->assertEquals('available', $response['body']['status']);
|
||||
}, 240000, 500);
|
||||
}, 30000, 250);
|
||||
$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']);
|
||||
}, 240000, 500);
|
||||
}, 30000, 250);
|
||||
|
||||
$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']);
|
||||
}, 240000, 500);
|
||||
}, 30000, 250);
|
||||
|
||||
// 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']);
|
||||
}, 240000, 500);
|
||||
}, 30000, 250);
|
||||
$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']);
|
||||
}, 240000, 500);
|
||||
}, 30000, 250);
|
||||
|
||||
$projectId = $this->getProject()['$id'];
|
||||
|
||||
|
||||
@@ -182,7 +182,7 @@ class AbuseTest extends Scope
|
||||
'x-appwrite-key' => $this->getProject()['apiKey'],
|
||||
]));
|
||||
$this->assertEquals('available', $response['body']['status']);
|
||||
}, 240000, 500);
|
||||
}, 30000, 250);
|
||||
|
||||
return [
|
||||
'databaseId' => $databaseId,
|
||||
|
||||
@@ -150,7 +150,7 @@ class AuthTest extends Scope
|
||||
'x-appwrite-key' => $this->getProject()['apiKey'],
|
||||
]));
|
||||
$this->assertEquals('available', $response['body']['status']);
|
||||
}, 240000, 500);
|
||||
}, 30000, 250);
|
||||
}
|
||||
|
||||
public function testInvalidAuth()
|
||||
|
||||
@@ -217,7 +217,7 @@ class DatabaseClientTest extends Scope
|
||||
'x-appwrite-key' => $this->getProject()['apiKey'],
|
||||
]));
|
||||
$this->assertEquals('available', $response['body']['status']);
|
||||
}, 240000, 500);
|
||||
}, 30000, 250);
|
||||
}
|
||||
|
||||
$projectId = $this->getProject()['$id'];
|
||||
@@ -330,7 +330,7 @@ class DatabaseClientTest extends Scope
|
||||
'x-appwrite-key' => $this->getProject()['apiKey'],
|
||||
]));
|
||||
$this->assertEquals('available', $response['body']['status']);
|
||||
}, 240000, 500);
|
||||
}, 30000, 250);
|
||||
|
||||
// Step 4: Create rows
|
||||
$query = $this->getQuery(self::CREATE_ROWS);
|
||||
@@ -623,7 +623,7 @@ class DatabaseClientTest extends Scope
|
||||
'x-appwrite-key' => $this->getProject()['apiKey'],
|
||||
]));
|
||||
$this->assertEquals('available', $response['body']['status']);
|
||||
}, 240000, 500);
|
||||
}, 30000, 250);
|
||||
}
|
||||
|
||||
$projectId = $this->getProject()['$id'];
|
||||
|
||||
Reference in New Issue
Block a user