Skip to content

The agent that grows with you

test(e2e): enforce the Windows update cells the PM git fix flips

teknium195fdcf92b0a1
diff --git a/tests/e2e/core/windows_update/test_fresh_install_update.py b/tests/e2e/core/windows_update/test_fresh_install_update.py
index 97fbbe8b05c..30239eee0f7 100644
--- a/tests/e2e/core/windows_update/test_fresh_install_update.py
+++ b/tests/e2e/core/windows_update/test_fresh_install_update.py
@@ -13,7 +13,6 @@ import json
import pytest
-from tests.e2e.core._pending_fixes import known_failure
from tests.e2e.core.windows_update._machine import (
NEXT_MARKER,
REQUIRES_OPT_IN,
@@ -84,11 +83,8 @@ def test_first_agent_launch_runs_the_turn(journey: Journey) -> None:
def test_update_moves_checkout_to_next(journey: Journey) -> None:
m, run = journey.machine, journey["update"]
- with known_failure(r"^hermes update exited 1: ✗ Update failed: \[WinError 2\]",
- "gated on #124634: on a machine without system Git, the pinned Git install.ps1 "
- "staged never reaches `hermes update`'s PATH"):
- assert run.returncode == 0, fail_with(
- m, f"hermes update exited {run.returncode}: {failure_line(run)}", run)
+ assert run.returncode == 0, fail_with(
+ m, f"hermes update exited {run.returncode}: {failure_line(run)}", run)
head = m.installed_head()
assert head == m.next, fail_with(
m, f"after hermes update the checkout is at {head}, expected NEXT {m.next}", run)
diff --git a/tests/e2e/core/windows_update/test_git_and_holders.py b/tests/e2e/core/windows_update/test_git_and_holders.py
index 1f7bd759b0a..a3b48e543a2 100644
--- a/tests/e2e/core/windows_update/test_git_and_holders.py
+++ b/tests/e2e/core/windows_update/test_git_and_holders.py
@@ -103,13 +103,9 @@ def test_update_fetches_into_the_installers_partial_clone(journey: Journey) -> N
"serve.git should allow filters")
fetch_bug = next((ln.strip() for ln in run.stdout.splitlines() if "BUG:" in ln or "fatal:" in ln),
failure_line(run))
- with known_failure(r"^hermes update over the installer's partial clone failed: rc=1, "
- r".*✗ Update failed: \[WinError 2\]",
- "gated on #124634: the pinned Git install.ps1 staged never reaches "
- "`hermes update`'s PATH"):
- assert run.returncode == 0 and m.installed_head() == m.next, fail_with(
- m, f"hermes update over the installer's partial clone failed: rc={run.returncode}, checkout at "
- f"{m.installed_head()} (NEXT {m.next}); {fetch_bug or 'no git error printed'}", run)
+ assert run.returncode == 0 and m.installed_head() == m.next, fail_with(
+ m, f"hermes update over the installer's partial clone failed: rc={run.returncode}, checkout at "
+ f"{m.installed_head()} (NEXT {m.next}); {fetch_bug or 'no git error printed'}", run)
def test_list_venv_holders_reports_live_holders(journey: Journey) -> None: