Skip to content

CI: fail the job when a test fails; drop the JDK-dependent shrink pin - #1

Merged
niranjankagri merged 1 commit into
mainfrom
fix/ci-pipefail-and-jdk-dependent-shrink
Nov 11, 2026
Merged

niranjankagri merged 1 commit into
mainfrom
fix/ci-pipefail-and-jdk-dependent-shrink

Conversation

@niranjankagri

Copy link
Copy Markdown
Owner

The first CI run was green although ShrinkingDemoTest.mixedGeneratorShrinksLessFar failed: the test step pipes Maven into tee, and the default GitHub shell has no pipefail, so the step returned tee's exit code.

  • Test step now sets `pipefail`.
  • The failing test pinned the shrunk value of a mix() generator: `aaaa1` on Java 27 locally, `1` on Java 21 in CI (same seed). Removed it; the README now describes the limit with both results.

Local: 27 tests, 0 failures.

@niranjankagri
niranjankagri merged commit 04b35cc into main Nov 11, 2026
1 check passed
@niranjankagri
niranjankagri deleted the fix/ci-pipefail-and-jdk-dependent-shrink branch November 11, 2026 07:20
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.

1 participant