hermes-agent/tests/docker
ethernet a7c778e3ba perf(docker-tests): halve poll intervals from 0.5s to 0.25s
Reduce the default interval_s in poll_container, wait_for_docker_logs,
and inline time.sleep() calls in test_dashboard.py and
test_gateway_run_supervised.py from 0.5s to 0.25s.

CI profile with sleep tracking showed 116.2s of time.sleep() across
345 sleep calls — 23% of total wall time. The majority of these
sleeps were in poll_container (0.5s default) and inline polling
loops in the dashboard and gateway-supervised tests. Halving the
interval halves the sleep time for each poll cycle without changing
docker call count or overhead.

Unlike the blocking-exec experiment (which traded fewer calls for
longer per-call duration and regressed on CI), this change only
reduces idle sleep time — the docker exec calls stay the same.
2026-07-14 17:38:18 -04:00
..
__init__.py
conftest.py perf(docker-tests): halve poll intervals from 0.5s to 0.25s 2026-07-14 17:38:18 -04:00
profiling.py feat(ci): track time.sleep in docker test profiler 2026-07-14 16:22:05 -04:00
test_config_migration.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_container_restart.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_dashboard.py perf(docker-tests): halve poll intervals from 0.5s to 0.25s 2026-07-14 17:38:18 -04:00
test_docker_exec_privilege_drop.py test(docker): wait for cont-init to finish before privilege-drop shim tests (#54026) 2026-06-28 17:06:26 +10:00
test_dump_build_sha.py perf(docker-tests): share containers across read-only tests 2026-07-14 02:10:00 -04:00
test_gateway_bootstrap_state.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_gateway_run_supervised.py perf(docker-tests): halve poll intervals from 0.5s to 0.25s 2026-07-14 17:38:18 -04:00
test_home_override_scripts.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_immutable_install.py perf(docker-tests): share containers across read-only tests 2026-07-14 02:10:00 -04:00
test_immutable_install_permissions.py perf(docker-tests): share containers across read-only tests 2026-07-14 02:10:00 -04:00
test_license_file_present.py perf(docker-tests): share containers across read-only tests 2026-07-14 02:10:00 -04:00
test_log_dir_seed.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_main_invocation.py
test_profile_gateway.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_puid_pgid_remap.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_s6_profile_gateway_integration.py fix(s6): dot-prefix gateway staging dir so svscan ignores it mid-build (#54834) 2026-06-29 21:33:00 +10:00
test_smoke.py change(ci): migrate docker smoketests to real tests 2026-06-26 19:15:18 -07:00
test_stage2_browser_discovery.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_tini_compat_shim.py perf(docker-tests): share containers across read-only tests 2026-07-14 02:10:00 -04:00
test_toplevel_chown.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_tui_passthrough.py test(docker): make tty-passthrough probe robust to container boot-log noise (#38665) 2026-06-04 13:19:13 +10:00
test_tui_prebuilt_bundle.py perf(docker-tests): share containers across read-only tests 2026-07-14 02:10:00 -04:00
test_user_flag_guard.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00
test_zombie_reaping.py refactor(ci): rewrite docker tests to check built container 2026-06-26 19:15:18 -07:00