Fix nightly build failure (#1234)

This commit is contained in:
Nikita Salnikov-Tarnovski 2020-09-22 11:57:19 +03:00 committed by GitHub
parent f76fb756be
commit f76473de92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -99,7 +99,6 @@ class Elasticsearch6RestClientTest extends AgentTestRunner {
spanKind INTERNAL
parent()
attributes {
"${SemanticAttributes.NET_TRANSPORT.key()}" "IP.TCP"
"${SemanticAttributes.NET_PEER_NAME.key()}" httpTransportAddress.address
"${SemanticAttributes.NET_PEER_PORT.key()}" httpTransportAddress.port
"${SemanticAttributes.HTTP_URL.key()}" "_cluster/health"
@ -112,6 +111,8 @@ class Elasticsearch6RestClientTest extends AgentTestRunner {
spanKind CLIENT
childOf span(0)
attributes {
"${SemanticAttributes.NET_TRANSPORT.key()}" "IP.TCP"
"${SemanticAttributes.HTTP_FLAVOR.key()}" "1.1"
"${SemanticAttributes.HTTP_URL.key()}" "_cluster/health"
"${SemanticAttributes.HTTP_METHOD.key()}" "GET"
"${SemanticAttributes.HTTP_STATUS_CODE.key()}" 200

View File

@ -104,7 +104,6 @@ class Elasticsearch6RestClientTest extends AgentTestRunner {
spanKind INTERNAL
parent()
attributes {
"${SemanticAttributes.NET_TRANSPORT.key()}" "IP.TCP"
"${SemanticAttributes.NET_PEER_NAME.key()}" httpTransportAddress.address
"${SemanticAttributes.NET_PEER_PORT.key()}" httpTransportAddress.port
"${SemanticAttributes.HTTP_URL.key()}" "_cluster/health"
@ -117,6 +116,7 @@ class Elasticsearch6RestClientTest extends AgentTestRunner {
spanKind CLIENT
childOf span(0)
attributes {
"${SemanticAttributes.NET_TRANSPORT.key()}" "IP.TCP"
"${SemanticAttributes.HTTP_URL.key()}" "_cluster/health"
"${SemanticAttributes.HTTP_METHOD.key()}" "GET"
"${SemanticAttributes.HTTP_STATUS_CODE.key()}" 200

View File

@ -9,7 +9,9 @@ muzzle {
}
dependencies {
library group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.7'
compileOnly group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.7'
testImplementation project(':instrumentation:log4j:log4j-2-testing')
latestDepTestLibrary group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.13.1'
}