Skip to content

The agent that grows with you

test(release): the cut-tunnel cell proves it reached the cut tunnel

Tekniumd3bdf761b066
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 8d7e2c1cfd1..6ce501d80cb 100644
--- a/tests/e2e/core/upgrade/network/test_proxy_only_egress.py
+++ b/tests/e2e/core/upgrade/network/test_proxy_only_egress.py
@@ -109,3 +109,6 @@ def test_tunnel_cut_to_the_git_host_fails_fast_and_changes_nothing(inst):
edge.close()
assert r.secs < 60, f"a cut tunnel took {r.secs:.0f}s to fail\n" + r.report(inst)
S.assert_nothing_changed(inst, before, r, "tunnel cut to the git host")
+ assert "github.com" in edge.proxy.hosts("eof"), "the update failed before reaching the cut tunnel\n" + r.report(inst)
+ assert "fetch" in r.out.lower() or "github.com" in r.out, (
+ "the failure does not say the git fetch failed\n" + r.report(inst))