feat: Update healthcheck test in StartMongodb action
This commit is contained in:
parent
ca35e536db
commit
3281502c25
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user