Skip to content

fix(agentgateway): skip integration tests when AGW not subscribed for tenant#168

Merged
jeanscherf merged 5 commits into
mainfrom
fix/integration-tests-agw-env-vars
Jun 16, 2026
Merged

fix(agentgateway): skip integration tests when AGW not subscribed for tenant#168
jeanscherf merged 5 commits into
mainfrom
fix/integration-tests-agw-env-vars

Conversation

@jeanscherf

Copy link
Copy Markdown
Member

Summary

After the env var rename in #167, the AGW tests now run but fail with MCPServerNotFoundError when the test subaccount isn't subscribed to Agent Gateway. Changed pytest.fail to pytest.skip in both cases:

  • Missing CLOUD_SDK_CFG_AGW_DEFAULT_TENANT_SUBDOMAIN → skip (not an error, just unconfigured)
  • MCPServerNotFoundError on client creation → skip (subaccount not subscribed to AGW)

Other exceptions still fail loudly.

Test plan

  • Trigger Integration Tests workflow and verify AGW tests are skipped (not failed) when subscription is missing

@jeanscherf jeanscherf requested a review from a team as a code owner June 16, 2026 17:16
@jeanscherf jeanscherf force-pushed the fix/integration-tests-agw-env-vars branch from f115c3b to 9676f70 Compare June 16, 2026 17:59
@jeanscherf jeanscherf merged commit 98a02b1 into main Jun 16, 2026
11 checks passed
@jeanscherf jeanscherf deleted the fix/integration-tests-agw-env-vars branch June 16, 2026 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants