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