feat(pool): add mTLS worker transport and heartbeat agent
This commit is contained in:
parent
bdb82e35dd
commit
c40c3fdb61
3 changed files with 52 additions and 7 deletions
|
|
@ -11,4 +11,7 @@ class EntryServiceTests(unittest.TestCase):
|
|||
def test_state_has_authority_false(self):
|
||||
value=M.read_state(); self.assertFalse(value['authority_granted'])
|
||||
|
||||
def test_worker_certificate_identity_is_required_by_contract(self):
|
||||
self.assertIn('MTLS_CLIENT_CERT_REQUIRED', open(ROOT/'server-tools/persona-compute-pool/entry_service.py').read())
|
||||
|
||||
if __name__=='__main__': unittest.main()
|
||||
|
|
|
|||
Loading…
Reference in a new issue