Repository navigation
Conversation
59960b4 to
493bb79
Compare
c61e1a9 to
8360ed4
Compare
tylerbenson
left a comment
There was a problem hiding this comment.
Nice work! Doesn't seem like this broke any tests in the process... I was expecting this to uncover some instrumentation that wasn't injecting everything it needed.
| public class Utils { | ||
| /* packages which will be loaded on the bootstrap classloader*/ | ||
| public static final String[] BOOTSTRAP_PACKAGE_PREFIXES = { | ||
| "io.opentracing", |
There was a problem hiding this comment.
I assume this will be remapped according to the shadow jar rules, right?
There was a problem hiding this comment.
io.opentracing isn't renamed by our shadow rules. It goes as-is on the bootstrap because we need to pick up OT api calls from the user's code. Everything else is renamed.
| import spock.lang.Specification | ||
| import spock.lang.Unroll | ||
|
|
||
| class ConfigurableInstrumenterTest extends Specification { |
There was a problem hiding this comment.
Did these tests get moved somewhere?
There was a problem hiding this comment.
These were dead tests in the tooling project. Turns out ConfigurableInstrumenterTest never was moved into agent-tooling back when I renamed the project, so I just brought it back. The other tests are already in agent-tooling.
|
LGTM! |
I wanted to go one step further and refuse to load core agent classes under the AgentTestRunner, but found that many tests were using agent classes. The option is still open for us to do this, but it will require updating some of the tests.