GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(java): enable tests in bigtable-stats for native image compilation by mpeddada1 · Pull Request #1308 · googleapis/java-bigtable

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

Conversation

@mpeddada1

@mpeddada1 mpeddada1 commented Jul 12, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

The native image tests are currently failing with the following error: Test configuration file wasn't found. Make sure that test execution wasn't skipped which occurs when the native-maven-plugin can't find tests to run with native image compilation. Naming the tests following this convention allows them to be enabled for native image testing.

This PR precedes #1288

cc @suztomo

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
mpeddada1 added 2 commits July 12, 2022 12:07
@mpeddada1
fix(java): enable tests in bigtable-stats for native image compilation
2d2d567
@mpeddada1
remove unnecessary pom
3630c1c
@mpeddada1
mpeddada1 requested review from a team and igorbernstein2 July 12, 2022 17:11
@product-auto-label product-auto-label Bot added size: xs Pull request size is extra small. api: bigtable Issues related to the googleapis/java-bigtable API. labels Jul 12, 2022
@mpeddada1 mpeddada1 changed the title fix(java) enable tests in bigtable-stats for native image compilation fix(java): enable tests in bigtable-stats for native image compilation Jul 12, 2022
@mpeddada1 mpeddada1 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 12, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 12, 2022
@igorbernstein2
igorbernstein2 requested review from mutianf and removed request for igorbernstein2 July 14, 2022 14:38
@mpeddada1

mpeddada1 commented Jul 14, 2022

Copy link
Copy Markdown
Contributor Author

An observation: the native images tests are now passing with these tests being included. However, Kokoro - Integration is resulting in the following error:

java.lang.ClassCastException: com.google.bigtable.veneer.repackaged.io.opencensus.stats.AutoValue_View cannot be cast to io.opencensus.stats.View
	at com.google.cloud.bigtable.stats.ITBuiltinViewConstantsTest.testBasicTagsExistForAllViews(ITBuiltinViewConstantsTest.java:26)

Perhaps these tests are not meant to be run as integration tests at the moment.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mpeddada1

mpeddada1 commented Jul 15, 2022

Copy link
Copy Markdown
Contributor Author

Closing this PR in favor of #1311

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mpeddada1 mpeddada1 closed this Jul 15, 2022
@mpeddada1
mpeddada1 deleted the enable-native-image branch July 15, 2022 18:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@mutianf mutianf Awaiting requested review from mutianf

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: bigtable Issues related to the googleapis/java-bigtable API. size: xs Pull request size is extra small.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@mpeddada1 @yoshi-kokoro
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.