opentelemetry-java-contrib icon indicating copy to clipboard operation
opentelemetry-java-contrib copied to clipboard

Run a single JMX integration test

Open carlosalberto opened this issue 2 years ago • 3 comments

Currently it is taking a lot to run the integration testing step of the JMX Gatherer - is there a chance to run a single one?

E.g. I'm trying to update the JVM ones only, and I'd like to restrict the test to that.

carlosalberto avatar May 05 '22 14:05 carlosalberto

Hi @carlosalberto - do you mean for local development? You should be able to run JvmTargetSystemIntegrationTest by itself in an IDE.

anuraaga avatar May 06 '22 02:05 anuraaga

Hey @anuraaga!

Yes, local testing - no, sadly I don't run an IDE ;) But your comment makes me believe no build refactoring/extension is needed, and probably I can dig how to trigger this from gradle itself ;)

carlosalberto avatar May 06 '22 02:05 carlosalberto

I think you're looking for the filter ./gradlew integrationTest --tests JvmTargetSystemIntegrationTest

rmfitzpatrick avatar May 06 '22 12:05 rmfitzpatrick

I think @rmfitzpatrick has solved it. Please reopen if this doesn't work for you @carlosalberto.

breedx-splk avatar Sep 12 '22 21:09 breedx-splk