fix(java): make field accessible to address Java 17 issue with arrow#2165
fix(java): make field accessible to address Java 17 issue with arrow#2165
Conversation
|
Warning: This pull request is touching the following templated files:
|
|
|
|
All checks are passing. |
|
|
|
ITBigqueryTest is resulting in the following issue: |
|
All checks are passing now. However, ITBigqueryTest and ITNightlyBigqueryTest have been more flaky given the introduction of these two additional native image checks. |
.kokoro/build.sh
Outdated
| # Run Unit and Integration Tests with Native Image. Skip Arrow tests until https://github.com/googleapis/java-bigquery/issues/2060 is fixed. | ||
| mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test "-Dtest=!com.google.cloud.bigquery.it.ITBigQueryTest#testBQResultSetPaginationSlowQuery+testReadAPIConnectionMultiClose+testReadAPIIterationAndOrder, !com.google.cloud.bigquery.it.ITNightlyBigQueryTest#testIterateAndOrder+testMultipleRuns+testIterateAndOrderDefaultConnSettings, IT*, *ClientTest" | ||
| # Run Unit and Integration Tests with Native Image | ||
| mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test |
There was a problem hiding this comment.
Let's use the maven command used to run integration check(line 64) to run both graalVM checks too. Otherwise it will run the nightly checks as well.
There was a problem hiding this comment.
@mpeddada1 +1 We may want to avoid triggering ITNightly during GraalVM presubmits (it would otherwise slow it down)
There was a problem hiding this comment.
Good point! Modified the script to exclude nightly tests.
There was a problem hiding this comment.
@Neenu1995 @prash-mi to make sure that we're not losing test coverage, what is the process of adding these excluded tests as nightly jobs (with native image compilation)?
There was a problem hiding this comment.
Same way the graalvm presubmbit checks are added, add the cfg files to the nightly folder.
There was a problem hiding this comment.
Sounds great. I'll do this in a follow-up PR.
#2106 should ideally address this issue. |
Awesome! Thank you. |
Fixes #2060