java-specialagent icon indicating copy to clipboard operation
java-specialagent copied to clipboard

Mule integration test does not work with all rules enabled

Open safris opened this issue 5 years ago • 2 comments

The integration test needs to work with these properties removed.

safris avatar Feb 11 '20 21:02 safris

So the issue is between regular grizzly-http-server and mule-4-http-server rules. The grizzly setup that the http-service uses is not supported out of the box by the regular grizzly rule so that one has to be disabled. All other plugins are disabled because they slow down the tests significantly.

Also there are some rules that should probably always be disabled with Mule 4 such as java-concurrent and maybe others. They generate spans through the regular lifecycle of the runtime and are unrelated to the actual services, though you may still want to have them enabled for integration testing purposes.

jam01 avatar Feb 11 '20 21:02 jam01

We need to figure out an automatic rule exclusion mechanism -- one that will operate by detecting whether the runtime has Mule or Grizzly, and adjust the instrumentation appropriately. We do this for Lettuce 5.1 and Lettuce 5.2.

safris avatar Feb 12 '20 15:02 safris