Fix slickdb test
MODIFY
dd-java-agent/instrumentation/java-concurrent/src/slickTest/groovy/SlickTest.groovy
dd-java-agent/instrumentation/java-concurrent/src/slickTest/groovy/SlickTest.groovy
@@ -42,7 +42,7 @@ class SlickTest extends AgentTestRunner {
"$Tags.DB_TYPE.key" SlickUtils.Driver()
"$Tags.DB_USER.key" SlickUtils.Username()
- "db.instance" SlickUtils.Url()
+ "db.instance" SlickUtils.Db()
"span.origin.type" "org.h2.jdbc.JdbcPreparedStatement"
defaultTags()

MODIFY
dd-java-agent/instrumentation/java-concurrent/src/slickTest/scala/SlickUtils.scala
dd-java-agent/instrumentation/java-concurrent/src/slickTest/scala/SlickUtils.scala
@@ -34,9 +34,10 @@ class SlickUtils {
object SlickUtils {
- val Driver = "h2"
+ val Driver = "h2:mem"
+ val Db = "test"
val Username = "TESTUSER"
- val Url = s"jdbc:${Driver}:mem:test"
+ val Url = s"jdbc:${Driver}:${Db}"
val TestValue = 3
val TestQuery = "SELECT 3"

Fix slickdb test