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