This commit is contained in:
Joao Patricio 2023-03-30 20:32:48 +01:00
parent 04626eb1ee
commit ae0bb7727b

View File

@ -37,6 +37,11 @@
"docker rm $(docker ps --filter='name={$coolifyNamePrefix}*' -aq)", "docker rm $(docker ps --filter='name={$coolifyNamePrefix}*' -aq)",
], $host); ], $host);
throw_if(
$activity->getExtraProperty('exitCode') !== 0,
new RuntimeException($activity->description),
);
expect($activity->getExtraProperty('exitCode'))->toBe(0); expect($activity->getExtraProperty('exitCode'))->toBe(0);
// Assert there's no containers start with coolify_test_* // Assert there's no containers start with coolify_test_*