Skip to content

The agent that grows with you

test(e2e/pm): drop the #124214 gate in test_stamps_and_doctor

teknium1be84a141f686
diff --git a/tests/e2e/core/upgrade/pm/test_stamps_and_doctor.py b/tests/e2e/core/upgrade/pm/test_stamps_and_doctor.py
index 74c744da01c..0edc3e26553 100644
--- a/tests/e2e/core/upgrade/pm/test_stamps_and_doctor.py
+++ b/tests/e2e/core/upgrade/pm/test_stamps_and_doctor.py
@@ -11,8 +11,8 @@ is not the installer's. Then:
* ``hermes doctor`` on that healthy install reports nothing wrong with the command installation
(#124050 is the false positive class) and ``hermes pm status`` reports the update as a success;
* real drift is caught and healed: a user uninstalls fastapi (the ``web`` extra the dashboard
- imports) from the selected environment. ``hermes doctor`` must say so (gated on #124214: it
- reports nothing), and ``hermes pm repair`` must bring the dashboard's import back;
+ imports) from the selected environment. ``hermes doctor`` must say so, and ``hermes pm repair``
+ must bring the dashboard's import back;
* a dependency update that cannot resolve fails loudly, ``hermes pm status`` reports it as failed,
and the previous generation stays selected and working.
"""
@@ -137,10 +137,8 @@ def test_doctor_reports_web_extra_drift(drifted):
flagged = [line for line in cp.stdout.splitlines()
if re.search(r"(?i)fastapi|dashboard|web extra|\bweb\b.*(missing|not installed)", line)
and line.lstrip().startswith(("⚠", "✗"))]
- with known_failure(r"hermes doctor is silent about fastapi missing from the selected environment",
- "gated on #124214: web-extra dependency drift is invisible to doctor"):
- assert flagged, ("hermes doctor is silent about fastapi missing from the selected environment "
- f"(rc={cp.returncode})\n" + I.describe(cp))
+ assert flagged, ("hermes doctor is silent about fastapi missing from the selected environment "
+ f"(rc={cp.returncode})\n" + I.describe(cp))
def test_pm_repair_heals_the_drift(drifted):