Fix release integration gate target

This commit is contained in:
rcourtman
2026-07-22 18:15:19 +01:00
parent 0b5763764c
commit e1f33c1bad
4 changed files with 20 additions and 4 deletions
@@ -1710,6 +1710,12 @@ func TestReleasePipelinePromotesOneImmutableCandidate(t *testing.T) {
if strings.Contains(integrationJob, "- backend_tests") {
t.Fatal("integration tests must run in parallel with backend tests")
}
if !strings.Contains(integrationJob, `tests/66-organization-sharing-approval-ui.spec.ts`) {
t.Fatal("integration release gate missing current organization-sharing coverage")
}
if strings.Contains(integrationJob, `tests/03-multi-tenant.spec.ts`) {
t.Fatal("integration release gate must not target the quarantined multi-tenant spec")
}
if strings.Contains(validationJob, "- publish_docker") {
t.Fatal("release asset digest validation must run in parallel with Docker publication")
}
@@ -728,11 +728,12 @@ class ReleasePromotionPolicyTest(unittest.TestCase):
self.assertIn('gh release upload "$@"', content)
self.assertIn('gh release upload failed on attempt ${attempt}/${max_attempts}; retrying in ${wait_seconds}s', content)
self.assertIn('gh release upload failed after ${max_attempts} attempts', content)
self.assertIn("Running multi-tenant E2E suite...", content)
self.assertIn("Running current organization-sharing E2E suite...", content)
self.assertIn(
"npx playwright test tests/03-multi-tenant.spec.ts --project=chromium --reporter=list",
"tests/66-organization-sharing-approval-ui.spec.ts",
content,
)
self.assertNotIn("npx playwright test tests/03-multi-tenant.spec.ts", content)
self.assertIn('PULSE_E2E_ENTITLEMENT_PROFILE: "multi-tenant"', content)
self.assertIn("Collect integration diagnostics", content)
self.assertIn("release-integration-diagnostics/docker.log", content)