Skip to content

fix(firestore): re-enable surefire in native profile for admin client - #14291

Draft
dlarocque wants to merge 1 commit into
mainfrom
dl/firestore-skip-native-tests
Draft

fix(firestore): re-enable surefire in native profile for admin client#14291
dlarocque wants to merge 1 commit into
mainfrom
dl/firestore-skip-native-tests

Conversation

@dlarocque

@dlarocque dlarocque commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Override skipUnitTests back to false under the native profile in google-cloud-firestore-admin/pom.xml so Surefire generates the test configuration required by native-maven-plugin during GraalVM builds.

Fixes build errors in CI that are currently happening in main example

18:04:35:942 [INFO] --- native:0.10.6:test (test-native) @ google-cloud-firestore-admin ---
18:04:35:944 [ERROR] Test configuration file wasn't found. Make sure that test execution wasn't skipped.
18:04:35:954 [INFO] ------------------------------------------------------------------------
18:04:35:954 [INFO] Reactor Summary for Google Cloud Firestore Parent 3.47.0:
18:04:35:954 [INFO] 
18:04:35:955 [INFO] Google Cloud Firestore Parent ...................... SUCCESS [  0.986 s]
18:04:35:955 [INFO] proto-google-cloud-firestore-v1 .................... SUCCESS [  0.636 s]
18:04:35:955 [INFO] proto-google-cloud-firestore-bundle-v1 ............. SUCCESS [  0.070 s]
18:04:35:955 [INFO] grpc-google-cloud-firestore-v1 ..................... SUCCESS [  0.071 s]
18:04:35:955 [INFO] Google Cloud Firestore ............................. SUCCESS [17:50 min]
18:04:35:955 [INFO] proto-google-cloud-firestore-admin-v1 .............. SUCCESS [  0.076 s]
18:04:35:955 [INFO] grpc-google-cloud-firestore-admin-v1 ............... SUCCESS [  0.066 s]
18:04:35:955 [INFO] Google Cloud Firestore Admin Client ................ FAILURE [  0.110 s]
18:04:35:955 [INFO] Google Cloud Firestore BOM ......................... SUCCESS [  0.009 s]
18:04:35:955 [INFO] ------------------------------------------------------------------------
18:04:35:955 [INFO] BUILD FAILURE
18:04:35:955 [INFO] ------------------------------------------------------------------------
18:04:35:955 [INFO] Total time:  17:55 min
18:04:35:955 [INFO] Finished at: 2026-09-08T18:04:35Z
18:04:35:955 [INFO] ------------------------------------------------------------------------
18:04:35:956 [ERROR] Failed to execute goal org.graalvm.buildtools:native-maven-plugin:0.10.6:test (test-native) on project google-cloud-firestore-admin: Execution test-native of goal org.graalvm.buildtools:native-maven-plugin:0.10.6:test failed: Test configuration file wasn't found. -> [Help 1]

@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 adds a native profile to the pom.xml file in the google-cloud-firestore-admin module. The reviewer advises against manually editing this file as it is auto-generated and changes will be overwritten, suggesting instead to modify the generator or source metadata.

Comment on lines +152 to +157
<profile>
<id>native</id>
<properties>
<skipUnitTests>false</skipUnitTests>
</properties>
</profile>

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.

medium

Avoid manually editing auto-generated files (such as pom.xml in generated client libraries) because changes will be overwritten. Modify the generator or the source metadata instead.

References
  1. Avoid manually editing auto-generated files (such as pom.xml in generated client libraries) because changes will be overwritten. Modify the generator or the source metadata instead.

@dlarocque dlarocque changed the title test(firestore): enable google cloud firestore admin tests fix(firestore): re-enable surefire in native profile for admin client Sep 8, 2026
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