1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00

test dart only

This commit is contained in:
Torsten Dittmann 2021-01-27 17:06:06 +01:00
parent d3fd93eed7
commit 7615c7e036

View file

@ -463,7 +463,7 @@ class FunctionsCustomServerTest extends Scope
* bash tests/resources/functions/package-*.sh
*/
$envs = [
[
/*[
'language' => 'PHP',
'version' => '7.4',
'name' => 'php-7.4',
@ -534,7 +534,7 @@ class FunctionsCustomServerTest extends Scope
'code' => $functions.'/deno.tar.gz',
'command' => 'deno run --allow-env index.ts',
'timeout' => 15,
],
],*/
[
'language' => 'Dart',
'version' => '2.10',
@ -543,7 +543,7 @@ class FunctionsCustomServerTest extends Scope
'command' => 'dart main.dart',
'timeout' => 15,
],
[
/*[
'language' => '.NET',
'version' => '3.1',
'name' => 'dotnet-3.1',
@ -558,7 +558,7 @@ class FunctionsCustomServerTest extends Scope
'code' => $functions.'/dotnet-5.0.tar.gz',
'command' => 'dotnet dotnet.dll',
'timeout' => 15,
],
],*/
];
sleep(count($envs) * 30);
@ -642,7 +642,7 @@ class FunctionsCustomServerTest extends Scope
$executionId = $execution['body']['$id'] ?? '';
$this->assertEquals(201, $execution['headers']['status-code']);
sleep(30);
sleep(45);
$executions = $this->client->call(Client::METHOD_GET, '/functions/'.$functionId.'/executions', array_merge([
'content-type' => 'application/json',