Fixed node tests
This commit is contained in:
parent
618d9cf28f
commit
8488897583
|
@ -337,6 +337,8 @@ class FunctionsCustomServerTest extends Scope
|
|||
* Test for FAILURE
|
||||
*/
|
||||
|
||||
sleep(10);
|
||||
|
||||
return array_merge($data, ['executionId' => $executionId]);
|
||||
}
|
||||
|
||||
|
@ -575,7 +577,7 @@ class FunctionsCustomServerTest extends Scope
|
|||
$executionId = $execution['body']['$id'] ?? '';
|
||||
$this->assertEquals(201, $execution['headers']['status-code']);
|
||||
|
||||
sleep(15);
|
||||
sleep(25);
|
||||
|
||||
$executions = $this->client->call(Client::METHOD_GET, '/functions/'.$functionId.'/executions', array_merge([
|
||||
'content-type' => 'application/json',
|
||||
|
|
Binary file not shown.
|
@ -2,8 +2,6 @@ const sdk = require('node-appwrite');
|
|||
|
||||
let client = new sdk.Client();
|
||||
|
||||
console.log(process.env);
|
||||
|
||||
client
|
||||
.setEndpoint(process.env.APPWRITE_ENDPOINT) // Your API Endpoint
|
||||
.setProject(process.env.APPWRITE_PROJECT) // Your project ID
|
||||
|
|
Loading…
Reference in a new issue