Skip to content

test(storage): limit integration test forks to 1 and other integration test fixes#13400

Open
Dhriti07 wants to merge 6 commits into
mainfrom
fix-ci-failsafe-forks
Open

test(storage): limit integration test forks to 1 and other integration test fixes#13400
Dhriti07 wants to merge 6 commits into
mainfrom
fix-ci-failsafe-forks

Conversation

@Dhriti07

@Dhriti07 Dhriti07 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

After the migration to the mono-repo parent pom defined fork-count for maven failsafe plugin as 1C which runs 1 JVM fork per CPU Core. This could be the reason for multiple issues across various tests due to the parallelism such as thread starvation, CPU throttling, and timeout flakiness on multi-core CI VMs. This PR overrides the parent POM configuration to limit the integration test fork count to 1 in google-cloud-storage.

This Pr also contains an attempted fix for vm timeout errors and hangs in the integration test. Rationale: Previously the GCS client and the FakeServer run in the same JVM and share the same Netty thread pool. When the client makes a blocking call and waits for the server, it occupies the shared threads. This could have starved the mock server preventing it from processing the request.

Note: The tests will take ~ 5-10 longer to run than previous configuration.

@Dhriti07 Dhriti07 requested review from a team as code owners June 9, 2026 08:34

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request configures the maven-failsafe-plugin in the pom.xml file for google-cloud-storage to set the fork count to 1, enable fork reuse, and set the testbench.keepAlive system property to true. There are no review comments, and I have no feedback to provide.

@Dhriti07 Dhriti07 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 9, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 9, 2026
@Dhriti07 Dhriti07 changed the title test(storage): limit integration test forks to 1 test(storage): limit integration test forks to 1 and other integration test fixes Jun 9, 2026
@Dhriti07 Dhriti07 requested a review from ShreyasSinha June 9, 2026 12:45
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.

3 participants