Update test to throw Throwable.
MODIFY
dd-java-agent/instrumentation/jdbc/src/test/groovy/test/TestConnection.groovy
dd-java-agent/instrumentation/jdbc/src/test/groovy/test/TestConnection.groovy
@@ -251,7 +251,7 @@ class TestConnection implements Connection {
@Override
Properties getClientInfo() throws SQLException {
- throw new UnsupportedOperationException("Test 123")
+ throw new Throwable("Test 123")
}
@Override

Update test to throw Throwable.