fix: probe Angor IPv4 health endpoint inside the actual image

This commit is contained in:
archipelago
2026-09-30 16:40:16 -04:00
parent c82c1eee98
commit f992780957
5 changed files with 28 additions and 3 deletions
@@ -19,6 +19,11 @@ class ServiceMetadata(unittest.TestCase):
self.assertEqual(app['ports'][0]['bind'], '127.0.0.1')
self.assertEqual(app['security']['capabilities'], [])
def test_indexer_health_targets_ipv4_listener(self):
app = yaml.safe_load((ROOT / 'apps/angor-indexer/manifest.yml').read_text())['app']
self.assertEqual(app['health_check']['endpoint'], 'http://127.0.0.1:8080')
self.assertEqual(app['health_check']['path'], '/health')
def test_host_local_api_never_opens_mesh_port(self):
app = {'interfaces': {'main': {'type': 'api', 'port': 8999}},
'ports': [{'host': 8999, 'auth': 'local'}],