Skip to content

The agent that grows with you

test(e2e/network): gate on filed issues

teknium1c528509f6554
diff --git a/tests/e2e/core/upgrade/network/test_mirrors.py b/tests/e2e/core/upgrade/network/test_mirrors.py
index a692a6ad3cc..0a5fdd91236 100644
--- a/tests/e2e/core/upgrade/network/test_mirrors.py
+++ b/tests/e2e/core/upgrade/network/test_mirrors.py
@@ -106,7 +106,7 @@ def test_npm_registry_mirror_serves_pm_npm_download(inst):
edge.close()
public = _public_index_hits(edge)
with known_failure(
- r"registry\.npmjs\.org",
+ r"reached the public registry \['refused registry\.npmjs\.org",
"gated on #123132: PM downloads npm-hosted tools from a hardcoded registry.npmjs.org "
"URL and ignores the configured npm registry",
):
diff --git a/tests/e2e/core/upgrade/network/test_offline_and_flaky.py b/tests/e2e/core/upgrade/network/test_offline_and_flaky.py
index 0b339144d9d..6a954f0c88f 100644
--- a/tests/e2e/core/upgrade/network/test_offline_and_flaky.py
+++ b/tests/e2e/core/upgrade/network/test_offline_and_flaky.py
@@ -84,8 +84,8 @@ def test_channel_503_with_retry_after_is_retried_then_updates(inst):
edge.close()
reads = [h for h in edge.proxy.requests(S.ASSETS) if h.path == MAIN_RECORD]
with known_failure(
- r"Channel read unavailable: HTTP 503",
- "gated on #NEW_CHANNEL_RETRY: the channel record read makes one attempt, so a single 503 "
+ r"\(1 channel read\(s\)\)[\s\S]*Channel read unavailable: HTTP 503",
+ "gated on #124653: the channel record read makes one attempt, so a single 503 "
"with Retry-After aborts `hermes update`",
):
assert r.rc == 0 and inst.head() == new, (
diff --git a/tests/e2e/core/upgrade/network/test_proxy_only_egress.py b/tests/e2e/core/upgrade/network/test_proxy_only_egress.py
index b884dcc38e9..dd09c81fedf 100644
--- a/tests/e2e/core/upgrade/network/test_proxy_only_egress.py
+++ b/tests/e2e/core/upgrade/network/test_proxy_only_egress.py
@@ -97,7 +97,7 @@ def test_update_with_corporate_root_only_in_ssl_cert_file(inst):
with known_failure(
r"unable to access 'https://github\.com/NousResearch/hermes-agent\.git/': "
r"(SSL certificate|server certificate verification failed|SSL certificate problem)",
- "gated on #NEW_SSLCERT: the updater's git fetch ignores SSL_CERT_FILE, so a corporate root "
+ "gated on #124654: the updater's git fetch ignores SSL_CERT_FILE, so a corporate root "
"supplied that way passes the channel read and then fails at `Fetching updates`",
):
_assert_updated_through_proxy(inst, r, new)