Skip to content

The agent that grows with you

test: point drain-timeout assertion at _CUA_INSTALLER_DRAIN_GRACE

Tekniuma329346f4fd0
diff --git a/tests/hermes_cli/test_install_cua_driver.py b/tests/hermes_cli/test_install_cua_driver.py
index 9a23bf1a771..9740fc5c9fe 100644
--- a/tests/hermes_cli/test_install_cua_driver.py
+++ b/tests/hermes_cli/test_install_cua_driver.py
@@ -1079,7 +1079,7 @@ class TestInstallerTimeoutKillsProcessGroup:
assert fake_proc.communicate.call_count == 2
assert (
fake_proc.communicate.call_args_list[1].kwargs["timeout"]
- == tools_config._CUA_INSTALLER_REAP_TIMEOUT
+ == tools_config._CUA_INSTALLER_DRAIN_GRACE
)
@pytest.mark.windows_only