@@ -173,7 +173,7 @@ def test_unsecure_exfiltration_succeeds(self, or_pm_nonsecure, or_env_nonsecure,
173173 _assert_unsecure_exfiltrator_probe_launch (threat_env )
174174
175175 ps = or_pm_nonsecure .start_app ("PatientSensor" )
176- wait_for_process_ready (ps , timeout_sec = 10 )
176+ wait_for_process_ready (ps , timeout_sec = 5 )
177177 assert ps .poll () is None , f"PatientSensor exited early with code { ps .returncode } "
178178
179179 result = _run_exfiltrator_probe (
@@ -204,7 +204,7 @@ def test_unsecure_exfiltrator_vs_secure_or(self, or_pm_secure, or_env_secure, th
204204 _assert_unsecure_exfiltrator_probe_launch (threat_env )
205205
206206 ps = or_pm_secure .start_app ("PatientSensor" )
207- wait_for_process_ready (ps , timeout_sec = 15 )
207+ wait_for_process_ready (ps , timeout_sec = 5 )
208208 assert ps .poll () is None , f"PatientSensor exited early with code { ps .returncode } "
209209
210210 result = _run_exfiltrator_probe (
@@ -222,13 +222,13 @@ def test_unsecure_exfiltrator_vs_secure_or(self, or_pm_secure, or_env_secure, th
222222 def test_rogue_ca_exfiltrator_blocked (self , or_pm_secure , or_env_secure , threat_env ):
223223 """Rogue CA exfiltrator should NOT receive vitals from secured OR apps."""
224224 ps = or_pm_secure .start_app ("PatientSensor" )
225- wait_for_process_ready (ps , timeout_sec = 15 )
225+ wait_for_process_ready (ps , timeout_sec = 5 )
226226 assert ps .poll () is None , f"PatientSensor exited early with code { ps .returncode } "
227227
228228 result = _run_exfiltrator_probe (
229229 threat_env [0 ],
230230 dp_name = "ThreatParticipantLibrary::dp/ThreatExfiltrator/RogueCA" ,
231- timeout_sec = 10 ,
231+ timeout_sec = 4 ,
232232 )
233233 assert result ["received" ] == 0 , (
234234 "Rogue CA exfiltrator should NOT receive vitals from secured OR"
@@ -237,13 +237,13 @@ def test_rogue_ca_exfiltrator_blocked(self, or_pm_secure, or_env_secure, threat_
237237 def test_forged_perms_exfiltrator_blocked (self , or_pm_secure , or_env_secure , threat_env ):
238238 """Forged permissions exfiltrator should NOT receive vitals from secured OR apps."""
239239 ps = or_pm_secure .start_app ("PatientSensor" )
240- wait_for_process_ready (ps , timeout_sec = 15 )
240+ wait_for_process_ready (ps , timeout_sec = 5 )
241241 assert ps .poll () is None , f"PatientSensor exited early with code { ps .returncode } "
242242
243243 result = _run_exfiltrator_probe (
244244 threat_env [0 ],
245245 dp_name = "ThreatParticipantLibrary::dp/ThreatExfiltrator/ForgedPerms" ,
246- timeout_sec = 10 ,
246+ timeout_sec = 4 ,
247247 )
248248 assert result ["received" ] == 0 , (
249249 "Forged permissions exfiltrator should NOT receive vitals from secured OR"
@@ -252,13 +252,13 @@ def test_forged_perms_exfiltrator_blocked(self, or_pm_secure, or_env_secure, thr
252252 def test_expired_cert_exfiltrator_blocked (self , or_pm_secure , or_env_secure , threat_env ):
253253 """Expired certificate exfiltrator should fail to create participant or receive data."""
254254 ps = or_pm_secure .start_app ("PatientSensor" )
255- wait_for_process_ready (ps , timeout_sec = 15 )
255+ wait_for_process_ready (ps , timeout_sec = 5 )
256256 assert ps .poll () is None , f"PatientSensor exited early with code { ps .returncode } "
257257
258258 result = _run_exfiltrator_probe (
259259 threat_env [0 ],
260260 dp_name = "ThreatParticipantLibrary::dp/ThreatExfiltrator/ExpiredCert" ,
261- timeout_sec = 10 ,
261+ timeout_sec = 4 ,
262262 )
263263 # Expired cert typically causes participant creation failure
264264 if result ["created" ]:
0 commit comments