assert fix same as JettyServlet3Test

This commit is contained in:
kfujita 2019-12-10 12:19:34 +09:00
parent dc0cbeb95d
commit a5e693bb92
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ abstract class TomcatDispatchTest extends TomcatServlet3Test {
tags {
"$Tags.COMPONENT" serverDecorator.component()
"$Tags.SPAN_KIND" Tags.SPAN_KIND_SERVER
"$Tags.PEER_HOSTNAME" "localhost"
"$Tags.PEER_HOSTNAME" { it == "localhost" || it == "127.0.0.1" }
"$Tags.PEER_HOST_IPV4" { it == null || it == "127.0.0.1" } // Optional
"$Tags.PEER_PORT" Integer
"$Tags.HTTP_URL" "${endpoint.resolve(address)}"