mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix flaky function deployment timing
This commit is contained in:
@@ -80,7 +80,7 @@ class GraphQLFunctionsClientTest extends Scope
|
||||
$this->assertIsArray($deployment['body']['data']);
|
||||
$this->assertArrayNotHasKey('errors', $deployment['body']);
|
||||
|
||||
sleep(10);
|
||||
sleep(15);
|
||||
|
||||
return $deployment['body']['data']['functionsCreateDeployment'];
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ class GraphQLFunctionsServerTest extends Scope
|
||||
$this->assertIsArray($deployment['body']['data']);
|
||||
$this->assertArrayNotHasKey('errors', $deployment['body']);
|
||||
|
||||
sleep(10);
|
||||
sleep(15);
|
||||
|
||||
return $deployment['body']['data']['functionsCreateDeployment'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user