feat: Update healthcheck test in StartMongodb action

This commit is contained in:
Andras Bacsai 2024-05-17 14:35:37 +02:00
parent ca35e536db
commit 3281502c25

View File

@ -50,8 +50,9 @@ public function handle(StandaloneMongodb $database)
],
'healthcheck' => [
'test' => [
'CMD-SHELL',
'mongosh --eval "printjson(db.runCommand(\"ping\"))"'
"CMD",
"echo",
"ok"
],
'interval' => '5s',
'timeout' => '5s',