mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-11-05 20:32:15 +00:00
Use the AirDC++ index page for startup health checks
This commit is contained in:
@@ -506,7 +506,7 @@
|
|||||||
"startup_healthcheck": {
|
"startup_healthcheck": {
|
||||||
"scheme": "http",
|
"scheme": "http",
|
||||||
"port": 5600,
|
"port": 5600,
|
||||||
"path": "/",
|
"path": "/index.html",
|
||||||
"timeout_seconds": 180,
|
"timeout_seconds": 180,
|
||||||
"request_timeout_seconds": 5,
|
"request_timeout_seconds": 5,
|
||||||
"stability_seconds": 4,
|
"stability_seconds": 4,
|
||||||
|
|||||||
@@ -506,7 +506,7 @@
|
|||||||
"startup_healthcheck": {
|
"startup_healthcheck": {
|
||||||
"scheme": "http",
|
"scheme": "http",
|
||||||
"port": 5600,
|
"port": 5600,
|
||||||
"path": "/",
|
"path": "/index.html",
|
||||||
"timeout_seconds": 180,
|
"timeout_seconds": 180,
|
||||||
"request_timeout_seconds": 5,
|
"request_timeout_seconds": 5,
|
||||||
"stability_seconds": 4,
|
"stability_seconds": 4,
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ class AirDCppRecipeTests(unittest.TestCase):
|
|||||||
for path in ('/Downloads','/Share'):
|
for path in ('/Downloads','/Share'):
|
||||||
self.assertIn('host-bind', paths[path]['installation_choice'])
|
self.assertIn('host-bind', paths[path]['installation_choice'])
|
||||||
self.assertEqual(restored['catalog_ui']['architectures'], ['amd64'])
|
self.assertEqual(restored['catalog_ui']['architectures'], ['amd64'])
|
||||||
|
self.assertEqual(restored['proxmox']['installer_profile']['startup_healthcheck']['path'], '/index.html')
|
||||||
self.assertEqual(restored['proxmox']['image_metadata_policy']['entrypoint'], 'import-from-oci-image')
|
self.assertEqual(restored['proxmox']['image_metadata_policy']['entrypoint'], 'import-from-oci-image')
|
||||||
|
|
||||||
def test_wizards_preserve_managed_configuration_and_use_selected_shared_directories(self):
|
def test_wizards_preserve_managed_configuration_and_use_selected_shared_directories(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user