FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(java): Only enable integration tests for native image testing by dzou · Pull Request #375 · googleapis/java-shared-config · GitHub

This repository was archived by the owner on Jul 14, 2026. It is now read-only.

fix(java): Only enable integration tests for native image testing - #375

Merged
dzou merged 2 commits into
mainfrom
native-integration-tests
Dec 6, 2021
Merged

fix(java): Only enable integration tests for native image testing#375
dzou merged 2 commits into
mainfrom
native-integration-tests

Conversation

dzou commented Dec 3, 2021
edited
Loading

Copy link
Copy Markdown
Contributor

This PR modifies shared-config to only run integration tests during native image testing.

Notes:

  • This PR removes the line --features=com.google.cloud.nativeimage.features.ProtobufMessageFeature which will register all proto classes for reflection (i.e. CreateSecretRequest, DeleteSecretRequest, etc.). This is typically needed in unit tests when sometimes tests will setup some mock responses using method calls like Any.pack(...) which invokes reflection on the proto class that is specified. However, integration tests no longer need this. It is useful to remove this because it will make the native build run a few minutes faster.

  • This PR also enables <extensions>true</extensions> for the native-maven-plugin. This is a required setting for using the plugin after version 0.9.6.

dzou requested review from a team, Neenu1995, lesv and suztomo December 3, 2021 17:10
google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Dec 3, 2021
Comment thread pom.xml Outdated
Comment thread pom.xml Outdated
Comment thread pom.xml
dzou merged commit 663f421 into main Dec 6, 2021
dzou deleted the native-integration-tests branch December 6, 2021 17:59
gcf-merge-on-green Bot pushed a commit that referenced this pull request Jan 5, 2022
🤖 I have created a release \*beep\* \*boop\*
---
### [1.2.3](https://www.github.com/googleapis/java-shared-config/compare/v1.2.2...v1.2.3) (2022-01-04)


### Bug Fixes

* **java:** add -ntp flag to native image testing command ([#1299](https://www.github.com/googleapis/java-shared-config/issues/1299)) ([#376](https://www.github.com/googleapis/java-shared-config/issues/376)) ([50e7a10](https://www.github.com/googleapis/java-shared-config/commit/50e7a10a8dca0505fd831e3dd929577d2f82b011))
* **java:** Only enable integration tests for native image testing ([#375](https://www.github.com/googleapis/java-shared-config/issues/375)) ([663f421](https://www.github.com/googleapis/java-shared-config/commit/663f421de342afcba24703079f778738045d3ff2))
* **java:** Pass missing integration test flags to native image test commands ([#1309](https://www.github.com/googleapis/java-shared-config/issues/1309)) ([#383](https://www.github.com/googleapis/java-shared-config/issues/383)) ([b17b44e](https://www.github.com/googleapis/java-shared-config/commit/b17b44e37fe44ba61616417189c6b2271f3a4d18))


### Dependencies

* update auto-value-annotation.version to v1.9 ([#378](https://www.github.com/googleapis/java-shared-config/issues/378)) ([5e1cd0e](https://www.github.com/googleapis/java-shared-config/commit/5e1cd0e39910548ec4eb6639da979c3b66411503))
* update dependency com.google.googlejavaformat:google-java-format to v1.13.0 ([#361](https://www.github.com/googleapis/java-shared-config/issues/361)) ([095d60a](https://www.github.com/googleapis/java-shared-config/commit/095d60a061a574dcf84b9fcf26dff48617a306b1))
* update dependency com.puppycrawl.tools:checkstyle to v9.2 ([#366](https://www.github.com/googleapis/java-shared-config/issues/366)) ([061df67](https://www.github.com/googleapis/java-shared-config/commit/061df676d8b2fef5bbb0ce9661d3c96fcb57e73a))
* update dependency com.puppycrawl.tools:checkstyle to v9.2.1 ([#382](https://www.github.com/googleapis/java-shared-config/issues/382)) ([1a182c5](https://www.github.com/googleapis/java-shared-config/commit/1a182c52e7c5431875296940d68c9bdfcf74be00))
* update dependency org.graalvm.buildtools:junit-platform-native to v0.9.9 ([#379](https://www.github.com/googleapis/java-shared-config/issues/379)) ([0a2b05f](https://www.github.com/googleapis/java-shared-config/commit/0a2b05ff7f649331efbc4dd540705da10691a2f1))
* update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.8 ([#372](https://www.github.com/googleapis/java-shared-config/issues/372)) ([6fe795e](https://www.github.com/googleapis/java-shared-config/commit/6fe795ede39575656ef1609bf7aac28c1d170976))
* update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.9 ([#380](https://www.github.com/googleapis/java-shared-config/issues/380)) ([f2efad5](https://www.github.com/googleapis/java-shared-config/commit/f2efad585b431fe186c7900a8171a999c689405b))
* update dependency org.junit.vintage:junit-vintage-engine to v5.8.2 ([#365](https://www.github.com/googleapis/java-shared-config/issues/365)) ([604058d](https://www.github.com/googleapis/java-shared-config/commit/604058d52dc962db9a506762926576542687285e))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL