Skip to content

ci: Run tests in parallel#3171

Merged
lqiu96 merged 15 commits intomainfrom
run-parallel-tests
Jan 13, 2026
Merged

ci: Run tests in parallel#3171
lqiu96 merged 15 commits intomainfrom
run-parallel-tests

Conversation

@lqiu96
Copy link
Member

@lqiu96 lqiu96 commented Jan 12, 2026

Attempts to try and run tests in parallel as much as possible. Certain tests cannot be run in parallel and have been marked with @Execution(ExecutionMode.SAME_THREAD). This PR does not attempt to fix those tests to make them run in parallel.

Due to many of the long running tests not being able to run in parallel, the speed up is for Graalvm is only ~5 min and the unit tests is only ~1 min

@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigquerystorage Issues related to the googleapis/java-bigquerystorage API. labels Jan 12, 2026
@lqiu96 lqiu96 requested a review from jinseopkim0 January 12, 2026 21:54
@lqiu96 lqiu96 marked this pull request as ready for review January 12, 2026 21:54
@lqiu96 lqiu96 requested a review from a team January 12, 2026 21:54
@lqiu96 lqiu96 requested a review from a team as a code owner January 12, 2026 21:54
@@ -0,0 +1,2 @@
junit.jupiter.execution.parallel.enabled = true
junit.jupiter.execution.parallel.mode.default = concurrent No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

Have you considered also setting junit.jupiter.execution.parallel.mode.classes.default = concurrent?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah that is an option. I labelled them with the annotation for now so that we can investigate how to make them parallel (easier to find in the future).

@lqiu96 lqiu96 merged commit 1436cc5 into main Jan 13, 2026
26 checks passed
@lqiu96 lqiu96 deleted the run-parallel-tests branch January 13, 2026 15:54
blakeli0 added a commit that referenced this pull request Feb 3, 2026
* chore: add release-please config for protobuf-4.x (#3125)

* chore: add release-please config for protobuf-4.x

* Change release type from java-backport to java-yoshi

* chore(main): release 3.18.1-SNAPSHOT (#3123)

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>

* feat: Add picosecond timestamp support for Json to Proto converter (#3131)

* feat: Add picosecond timestamp support for Json to Proto converter

* chore: Add edge cases for user input

* chore: Fix lint issues

* chore: Disable check for v1beta2

* chore: generate libraries at Wed Dec 10 15:59:07 UTC 2025

* chore: Address PR feedback

* chore: generate libraries at Wed Dec 10 19:01:14 UTC 2025

* chore: Fix timestamp precision check condition

---------

Co-authored-by: cloud-java-bot <cloud-java-bot@google.com>

* deps: update dependency com.google.cloud:sdk-platform-java-config to v3.54.2 (#3137)

* deps: update googleapis/sdk-platform-java action to v2.64.2 (#3138)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [googleapis/sdk-platform-java](https://redirect.github.com/googleapis/sdk-platform-java) | action | patch | `v2.64.1` -> `v2.64.2` |

---

### Release Notes

<details>
<summary>googleapis/sdk-platform-java (googleapis/sdk-platform-java)</summary>

### [`v2.64.2`](https://redirect.github.com/googleapis/sdk-platform-java/releases/tag/v2.64.2)

[Compare Source](https://redirect.github.com/googleapis/sdk-platform-java/compare/v2.64.1...v2.64.2)

##### Bug Fixes

- add per-service api\_version to gapic\_metadata ([#&#8203;3984](https://redirect.github.com/googleapis/sdk-platform-java/issues/3984)) ([d589306](https://redirect.github.com/googleapis/sdk-platform-java/commit/d589306c4ecc12a2a744cb9dfb914ccea8fb34fd))

##### Dependencies

- Upgrade auth to 1.41.0. ([#&#8203;4008](https://redirect.github.com/googleapis/sdk-platform-java/issues/4008)) ([833b3e5](https://redirect.github.com/googleapis/sdk-platform-java/commit/833b3e54c0f13ac8183a639c4464dcf58fd44096))
- upgrade grpc to 1.76.1 ([#&#8203;3993](https://redirect.github.com/googleapis/sdk-platform-java/issues/3993)) ([958611e](https://redirect.github.com/googleapis/sdk-platform-java/commit/958611e23460dba596160f3224d8588afdba6bc2))
- Upgrade grpc to 1.76.2 ([#&#8203;4006](https://redirect.github.com/googleapis/sdk-platform-java/issues/4006)) ([a8060a2](https://redirect.github.com/googleapis/sdk-platform-java/commit/a8060a263ba34556b8d4d347a57625849a6859bc))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/java-bigquerystorage).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi40Mi4yIiwidXBkYXRlZEluVmVyIjoiNDIuNDIuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

* chore: Remove PR rate limit in renovate.json (#3136)

* test: Close resources after tests run (#3139)

* test: Close resources after tests run

* chore: generate libraries at Thu Dec 11 21:24:33 UTC 2025

* chore: Fix failing IT test case

---------

Co-authored-by: cloud-java-bot <cloud-java-bot@google.com>

* chore(main): release 3.19.0 (#3135)

* chore(main): release 3.19.0

* chore: generate libraries at Fri Dec 12 01:49:55 UTC 2025

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: cloud-java-bot <cloud-java-bot@google.com>
Co-authored-by: Blake Li <blakeli@google.com>

* chore(main): release 3.19.1-SNAPSHOT (#3149)

:robot: I have created a release *beep* *boop*
---


### Updating meta-information for bleeding-edge SNAPSHOT release.

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).

* chore: Clean up test resources and intelliJ test warnings (#3154)

* test: Clean up non-v1 ITs in BQ Storage (#3155)

* test: Ignore non-v1 ITs in BQ Storage

* chore: Remove the deprecated v1beta2 Write API tests

* chore: generate libraries at Mon Dec 15 22:25:12 UTC 2025

* chore: Re-enable v1beta1 ITs

* chore: generate libraries at Mon Dec 15 22:28:06 UTC 2025

---------

Co-authored-by: cloud-java-bot <cloud-java-bot@google.com>

* deps: update dependency com.google.cloud:google-cloud-bigquery to v2.57.1 (#3060)

* test: Add timestamp ITs for Read and Write API  (#3156)

* test: Add ITs for timestamps for Read API

* chore: Add timestamp test for avro

* chore: Refactor packages into util package

* chore: Rename to ITBigQueryStorageWriteClientTest

* chore: Add header for Helper util class

* chore: Address PR comments

* chore: Add protobuf-java-util testing scope

* chore: Use Timestamps.fromMillis

* chore: Allow graalvm reflect-config.json files to be regenerated (#3162)

* chore: Allow graalvm reflect-config.json files to be regenerated

* chore: Add reflect-config and resourece-config jsons to base META-INF package

* chore: generate libraries at Wed Dec 17 19:07:44 UTC 2025

---------

Co-authored-by: cloud-java-bot <cloud-java-bot@google.com>

* test: Add picosecond test cases (#3159)

* test: Add picosecond test cases

* chore: Add constant and fix assertions

* test: Add ITs for writing pico timestamps using Protobuf Message (#3163)

* test: Add picosecond test cases

* chore: Add constant and fix assertions

* test: Add ITs for writing pico timestamps using Protobuf Message

* chore: generate libraries at Wed Dec 17 22:51:39 UTC 2025

* chore: Add additional test comments

* chore: Fix compile issues

---------

Co-authored-by: cloud-java-bot <cloud-java-bot@google.com>

* chore: Upgrade tests to use JUnit 5 (#3166)

* chore: Upgrade tests to use JUnit 5

* chore: Fix v1beta1 test

* chore: Create unique table name across each version

* docs: Add samples for using timestamps with BQStorage Read and Write API (#3167)

* chore: Add samples showcases reading a timestamp value from public dataset

* docs: Add samples for using timestamps with BQStorage Read and Write API

* chore: Add missing header

* chore: Remove fmt plugin in samples

* chore: Fix samples lint issues

* chore: Add ITs for the added samples

* chore: Fix commented out nested samples

* chore: Address code comments

* chore: Address code comments

* chore: Use long for expectedRowCount

* chore: Fix checkstyle issue

* chore: Add surefire-junit-platform dep to run JUnit5 ITs (#3168)

* ci: Run tests in parallel (#3171)

* chore: Add samples showcases reading a timestamp value from public dataset

* docs: Add samples for using timestamps with BQStorage Read and Write API

* chore: Add missing header

* chore: Remove fmt plugin in samples

* chore: Fix samples lint issues

* chore: Add ITs for the added samples

* chore: Fix commented out nested samples

* chore: Address code comments

* chore: Address code comments

* chore: Use long for expectedRowCount

* chore: Fix checkstyle issue

* chore: Run tests in same thread

* chore: Run certain tests single threaded

* chore: Add another test to run sequentially

* chore: cleanup release-please config (#3128)

* chore: cleanup release-please config

- Remove redundant options already declared at the top level.\n- Remove bumpMinorPreMajor for repositories after the first major release.

* chore: format release-please.yml

* deps: update dependency com.google.cloud:sdk-platform-java-config to v3.55.1 (#3173)

* deps: update googleapis/sdk-platform-java action to v2.65.1 (#3172)

* chore: Update generation configuration at Wed Jan 14 02:42:56 UTC 2026 (#3124)

* chore: Update generation configuration at Fri Nov 14 02:32:24 UTC 2025

* chore: Update generation configuration at Sat Nov 15 02:30:33 UTC 2025

* chore: Update generation configuration at Mon Nov 17 02:32:46 UTC 2025

* chore: Update generation configuration at Tue Nov 18 02:32:15 UTC 2025

* chore: Update generation configuration at Wed Nov 19 02:31:56 UTC 2025

* chore: generate libraries at Wed Nov 19 02:32:26 UTC 2025

* chore: Update generation configuration at Thu Nov 20 02:31:57 UTC 2025

* chore: Update generation configuration at Fri Nov 21 02:31:42 UTC 2025

* chore: Update generation configuration at Wed Nov 26 02:33:12 UTC 2025

* chore: Update generation configuration at Thu Nov 27 02:32:11 UTC 2025

* chore: Update generation configuration at Fri Nov 28 02:31:43 UTC 2025

* chore: Update generation configuration at Tue Dec  2 02:33:32 UTC 2025

* chore: Update generation configuration at Wed Dec  3 02:33:42 UTC 2025

* chore: Update generation configuration at Thu Dec  4 02:33:38 UTC 2025

* chore: Update generation configuration at Fri Dec  5 02:33:50 UTC 2025

* chore: Update generation configuration at Sat Dec  6 02:31:26 UTC 2025

* chore: Update generation configuration at Tue Dec  9 02:33:51 UTC 2025

* chore: Update generation configuration at Wed Dec 10 02:34:22 UTC 2025

* chore: Update generation configuration at Thu Dec 11 02:36:05 UTC 2025

* chore: Update generation configuration at Fri Dec 12 02:35:18 UTC 2025

* chore: Update generation configuration at Sat Dec 13 02:33:07 UTC 2025

* chore: generate libraries at Sat Dec 13 02:33:34 UTC 2025

* chore: Update generation configuration at Mon Dec 15 02:38:44 UTC 2025

* chore: Update generation configuration at Tue Dec 16 02:35:59 UTC 2025

* chore: Update generation configuration at Wed Dec 17 02:33:54 UTC 2025

* chore: generate libraries at Wed Dec 17 02:35:55 UTC 2025

* chore: Update generation configuration at Thu Dec 18 02:34:03 UTC 2025

* chore: generate libraries at Thu Dec 18 02:34:33 UTC 2025

* chore: Update generation configuration at Fri Dec 19 02:35:14 UTC 2025

* chore: Update generation configuration at Sat Dec 20 02:32:58 UTC 2025

* chore: generate libraries at Sat Dec 20 02:33:28 UTC 2025

* chore: Update generation configuration at Wed Dec 24 02:35:03 UTC 2025

* chore: Update generation configuration at Thu Dec 25 02:36:58 UTC 2025

* chore: Update generation configuration at Tue Dec 30 02:37:22 UTC 2025

* chore: Update generation configuration at Wed Dec 31 02:37:00 UTC 2025

* chore: Update generation configuration at Tue Jan  6 02:38:56 UTC 2026

* chore: Update generation configuration at Wed Jan  7 02:39:05 UTC 2026

* chore: Update generation configuration at Thu Jan  8 02:38:28 UTC 2026

* chore: Update generation configuration at Fri Jan  9 02:39:02 UTC 2026

* chore: Update generation configuration at Sat Jan 10 02:35:11 UTC 2026

* chore: Update generation configuration at Tue Jan 13 02:38:02 UTC 2026

* chore: Update generation configuration at Tue Jan 13 15:58:14 UTC 2026

* chore: generate libraries at Tue Jan 13 15:58:46 UTC 2026

* chore: Update generation configuration at Wed Jan 14 02:42:56 UTC 2026

* chore: generate libraries at Wed Jan 14 02:43:25 UTC 2026

* chore: Update generation configuration at Thu Jan 15 02:39:04 UTC 2026 (#3174)

* chore: Update generation configuration at Wed Jan 14 22:20:45 UTC 2026

* chore: generate libraries at Wed Jan 14 22:21:21 UTC 2026

* chore: Update generation configuration at Thu Jan 15 02:39:04 UTC 2026

* chore(main): release 3.19.1 (#3158)

* chore(main): release 3.19.1

* chore: generate libraries at Thu Jan 15 15:36:07 UTC 2026

---------

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: cloud-java-bot <cloud-java-bot@google.com>

---------

Co-authored-by: Diego Marquez <diegomarquezp@google.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: Lawrence Qiu <lawrenceqiu@google.com>
Co-authored-by: cloud-java-bot <cloud-java-bot@google.com>
Co-authored-by: Mend Renovate <bot@renovateapp.com>
Co-authored-by: cloud-java-bot <122572305+cloud-java-bot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquerystorage Issues related to the googleapis/java-bigquerystorage API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants