mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 02:25:56 +00:00
Fix release integration gate target
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user