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 @@ class StartMongodb
], ],
'healthcheck' => [ 'healthcheck' => [
'test' => [ 'test' => [
'CMD-SHELL', "CMD",
'mongosh --eval "printjson(db.runCommand(\"ping\"))"' "echo",
"ok"
], ],
'interval' => '5s', 'interval' => '5s',
'timeout' => '5s', 'timeout' => '5s',