From b9d84c69a8ef7a2cf694e5f1d4d30717478d7587 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Wed, 23 Oct 2024 14:10:08 +0100 Subject: [PATCH] fix: executor tests --- tests/ExecutorTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/ExecutorTest.php b/tests/ExecutorTest.php index 24bdf45..a4326c0 100644 --- a/tests/ExecutorTest.php +++ b/tests/ExecutorTest.php @@ -921,7 +921,8 @@ public function testCustomRuntimes(string $folder, string $image, string $entryp 'source' => $path, 'entrypoint' => $entrypoint, 'image' => $image, - 'runtimeEntrypoint' => 'sh helpers/server.sh', + // start server but stay open container + 'runtimeEntrypoint' => 'cp /tmp/code.tar.gz /mnt/code/code.tar.gz && nohup helpers/start.sh helpers/server.sh', 'timeout' => 120, 'variables' => [ 'TEST_VARIABLE' => 'Variable secret'