fix test
This commit is contained in:
parent
bff8303e18
commit
53b4e5db19
|
@ -94,6 +94,7 @@ class JettyServlet2Test extends HttpServerTest<Server, Servlet2Decorator> {
|
|||
}
|
||||
tags {
|
||||
"servlet.context" "/$CONTEXT"
|
||||
"servlet.path" endpoint.path
|
||||
"span.origin.type" TestServlet2.Sync.name
|
||||
|
||||
defaultTags(true)
|
||||
|
|
|
@ -83,7 +83,7 @@ abstract class AbstractServlet3Test<SERVER, CONTEXT> extends HttpServerTest<SERV
|
|||
}
|
||||
tags {
|
||||
"servlet.context" "/$context"
|
||||
"servlet.path" endpoint.path
|
||||
"servlet.path" { it == endpoint.path || it == "/dispatch$endpoint.path" }
|
||||
"span.origin.type" { it == servlet.name || it == ApplicationFilterChain.name }
|
||||
|
||||
defaultTags(true)
|
||||
|
|
|
@ -244,6 +244,7 @@ abstract class JettyDispatchTest extends JettyServlet3Test {
|
|||
// we can't reliably assert parent or child relationship here since both are tested.
|
||||
tags {
|
||||
"servlet.context" "/$context"
|
||||
"servlet.path" endpoint.status == 404 ? endpoint.path : "/dispatch$endpoint.path"
|
||||
"servlet.dispatch" endpoint.path
|
||||
"span.origin.type" {
|
||||
it == TestServlet3.DispatchImmediate.name || it == TestServlet3.DispatchAsync.name || it == ApplicationFilterChain.name
|
||||
|
|
|
@ -296,6 +296,7 @@ abstract class TomcatDispatchTest extends TomcatServlet3Test {
|
|||
// we can't reliably assert parent or child relationship here since both are tested.
|
||||
tags {
|
||||
"servlet.context" "/$context"
|
||||
"servlet.path" endpoint.status == 404 ? endpoint.path : "/dispatch$endpoint.path"
|
||||
"servlet.dispatch" endpoint.path
|
||||
"span.origin.type" {
|
||||
it == TestServlet3.DispatchImmediate.name || it == TestServlet3.DispatchAsync.name || it == ApplicationFilterChain.name
|
||||
|
|
Loading…
Reference in New Issue