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