Fix ignore on request path#2146
Conversation
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. 🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
eyalkoren
left a comment
There was a problem hiding this comment.
Much better!
Some wording proposals and one test enhancement proposal, otherwise looks good!
For some reason, integration tests in the latest build took considerably longer than expected and were aborted eventually.
I started another build, once it passes properly, you can see this PR as approved.
| import static org.mockito.Mockito.mock; | ||
| import static org.mockito.Mockito.when; | ||
|
|
||
| class ServletTransactionCreationHelperTest extends AbstractInstrumentationTest { |
.../src/test/java/co/elastic/apm/agent/servlet/helper/ServletTransactionCreationHelperTest.java
Outdated
Show resolved
Hide resolved
Co-authored-by: eyalkoren <41850454+eyalkoren@users.noreply.github.com>
|
After blaming the CI, I found what was causing the timeouts. |
What does this PR do?
Currently we ignore request using Servlet path, which does not include the Servlet context path.
As a result, trying to ignore URLs with
/app-context/*with a web-application deployed to the/app-contextcontext path is not ignored.Checklist