test: DELIBERATE BREAK, expected red, reverted next (#8372)
release / web (push) Successful in 1m20s
release / go (push) Failing after 1m48s
release / govulncheck (push) Successful in 18s
release / integration (push) Failing after 2m32s
release / android (push) Failing after 3m29s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build signed APK (push) Canceled after 3m44s
release / web (push) Successful in 1m20s
release / go (push) Failing after 1m48s
release / govulncheck (push) Successful in 18s
release / integration (push) Failing after 2m32s
release / android (push) Failing after 3m29s
release / Attach APK to the Release (tag releases only) (push) Canceled after 0s
release / Build + push container image (push) Canceled after 0s
release / Publish the release image to GHCR (dispatch only) (push) Canceled after 0s
release / Verify release artifacts (tag releases only) (push) Canceled after 0s
release / Build signed APK (push) Canceled after 3m44s
Proves the test-count lanes still show a failure and still go red: - go lane: words TestCount fails a row, and TestDeliberatePanic kills the package binary mid-test; both outputs must appear. - integration lane: quarantine TestFlag_HappyPath fails. - android lane: BareUdnTest's six rows fail, and the count step still runs and reports them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -21,6 +21,6 @@ class BareUdnTest {
|
||||
"RINCON_ABC",
|
||||
)
|
||||
fun `every form of a speaker's id is the same bare id`(udn: String) {
|
||||
assertEquals("RINCON_ABC", udn.bareUdn())
|
||||
assertEquals("RINCON_ABD", udn.bareUdn()) // DELIBERATE BREAK #8372
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,6 +64,7 @@ func TestFlag_HappyPath(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("Flag: %v", err)
|
||||
}
|
||||
t.Errorf("deliberate break (#8372): reason = %v", row.Reason) // DELIBERATE BREAK #8372
|
||||
if string(row.Reason) != "bad_rip" {
|
||||
t.Errorf("reason = %v", row.Reason)
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ func TestCount(t *testing.T) {
|
||||
cases := []struct {
|
||||
got, want string
|
||||
}{
|
||||
{Count(1, "track", "tracks"), "1 track"},
|
||||
{Count(1, "track", "tracks"), "1 tracks"}, // DELIBERATE BREAK #8372
|
||||
{Count(0, "track", "tracks"), "0 tracks"},
|
||||
{Count(int64(3), "track went missing", "tracks went missing"), "3 tracks went missing"},
|
||||
{Count(int32(-1), "copy", "copies"), "-1 copies"},
|
||||
@@ -17,3 +17,8 @@ func TestCount(t *testing.T) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestDeliberatePanic(t *testing.T) { // DELIBERATE BREAK #8372
|
||||
t.Log("this line must appear in the failed output")
|
||||
panic("deliberate break (#8372): a test binary that dies mid-test")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user