@@ -536,7 +536,7 @@ abstract class RemoteJDBCInstrumentationTest extends VersionedNamingTestBase {
536536 // since Connection.getClientInfo will not provide the username
537537 " $Tags . DB_USER " { it == null || it == jdbcUserNames. get(driver) }
538538 " $Tags . DB_OPERATION " operation
539- if (conPoolType == " hikari" ) {
539+ if (pool == " hikari" ) {
540540 " $Tags . DB_POOL_NAME " String
541541 }
542542 " $InstrumentationTags . DBM_TRACE_INJECTED " true
@@ -560,7 +560,7 @@ abstract class RemoteJDBCInstrumentationTest extends VersionedNamingTestBase {
560560 " $Tags . PEER_HOSTNAME " String
561561 " $Tags . DB_USER " { it == null || it == jdbcUserNames. get(driver) }
562562 " $Tags . DB_OPERATION " " set"
563- if (conPoolType == " hikari" ) {
563+ if (pool == " hikari" ) {
564564 " $Tags . DB_POOL_NAME " String
565565 }
566566 " dd.instrumentation" true
@@ -670,7 +670,7 @@ abstract class RemoteJDBCInstrumentationTest extends VersionedNamingTestBase {
670670 " $Tags . PEER_HOSTNAME " String
671671 " $Tags . DB_USER " { it == null || it == jdbcUserNames. get(driver) }
672672 " ${ Tags.DB_OPERATION} " operation
673- if (conPoolType == " hikari" ) {
673+ if (pool == " hikari" ) {
674674 " $Tags . DB_POOL_NAME " String
675675 }
676676 " $InstrumentationTags . DBM_TRACE_INJECTED " true
@@ -694,7 +694,7 @@ abstract class RemoteJDBCInstrumentationTest extends VersionedNamingTestBase {
694694 " $Tags . DB_USER " { it == null || it == jdbcUserNames. get(driver) }
695695 " $Tags . DB_OPERATION " " set"
696696 " dd.instrumentation" true
697- if (conPoolType == " hikari" ) {
697+ if (pool == " hikari" ) {
698698 " $Tags . DB_POOL_NAME " String
699699 }
700700 peerServiceFrom(Tags . DB_INSTANCE )
@@ -843,7 +843,7 @@ abstract class RemoteJDBCInstrumentationTest extends VersionedNamingTestBase {
843843 if (addDbmTag) {
844844 " $InstrumentationTags . DBM_TRACE_INJECTED " true
845845 }
846- if (conPoolType == " hikari" ) {
846+ if (pool == " hikari" ) {
847847 " $Tags . DB_POOL_NAME " String
848848 }
849849 " $InstrumentationTags . DBM_TRACE_INJECTED " true
@@ -867,7 +867,7 @@ abstract class RemoteJDBCInstrumentationTest extends VersionedNamingTestBase {
867867 " $Tags . PEER_HOSTNAME " String
868868 " $Tags . DB_USER " { it == null || it == jdbcUserNames. get(driver) }
869869 " $Tags . DB_OPERATION " " set"
870- if (conPoolType == " hikari" ) {
870+ if (pool == " hikari" ) {
871871 " $Tags . DB_POOL_NAME " String
872872 }
873873 " dd.instrumentation" true
0 commit comments