Skip to content

Disable hbase tests on openj9#18998

Merged
trask merged 1 commit into
open-telemetry:mainfrom
laurit:hbase-openj9
Jun 15, 2026
Merged

Disable hbase tests on openj9#18998
trask merged 1 commit into
open-telemetry:mainfrom
laurit:hbase-openj9

Conversation

@laurit laurit added the test openj9 This label can be applied to PRs to trigger them to run openj9 tests label Jun 15, 2026
Copilot AI review requested due to automatic review settings June 15, 2026 11:40
@laurit laurit requested a review from a team as a code owner June 15, 2026 11:40

Copilot AI 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.

Pull request overview

This PR disables the HBase client 2.0 javaagent tests when running on OpenJ9-based JVMs, to avoid known failures in that runtime and keep CI signal actionable.

Changes:

  • Added JUnit 5 @DisabledIfSystemProperty gating to skip HbaseClient20Test on OpenJ9.
  • Added the same OpenJ9 gating for the shaded-client variant HbaseShadedClient20Test.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
instrumentation/hbase-client-2.0/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/hbase/client/v2_0/HbaseClient20Test.java Disables the standard HBase 2.0 client javaagent test on OpenJ9 JVMs.
instrumentation/hbase-client-2.0/javaagent/src/shadedClientTest/java/io/opentelemetry/javaagent/instrumentation/hbase/client/v2_0/HbaseShadedClient20Test.java Disables the shaded HBase 2.0 client javaagent test on OpenJ9 JVMs.

import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
import org.junit.jupiter.api.extension.RegisterExtension;

@DisabledIfSystemProperty(named = "java.vm.name", matches = ".*OpenJ9.*")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It is fine since we only run these on openj9 and not the ibm vm. Note that the @DisabledIfSystemProperty in AbstractHttpClientTest doesn't really apply since that test is not run on ibm vm, might be better to delete it.

import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
import org.junit.jupiter.api.extension.RegisterExtension;

@DisabledIfSystemProperty(named = "java.vm.name", matches = ".*OpenJ9.*")
@trask trask merged commit e571ab0 into open-telemetry:main Jun 15, 2026
145 of 146 checks passed
@laurit laurit deleted the hbase-openj9 branch June 15, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test openj9 This label can be applied to PRs to trigger them to run openj9 tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants