MikeThomsen commented on pull request #5794:
URL: https://github.com/apache/nifi/pull/5794#issuecomment-1051087462
@exceptionfactory Something appears to not be working right here with the
JDBC driver. When using the logic in `DBCPServiceTest` in `TestJdbcCommon` I
get this error:
```
java.sql.SQLException: No suitable driver found for
jdbc:derby:/var/folders/c8/pqwtjgbn4sz4733mh3t451740000gn/T/TestJdbcCommon-2a900fc0-6bf0-4717-8592-d1f78f840304;create=true
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:702)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:251)
at org.apache.nifi.util.db.TestJdbcCommon.setup(TestJdbcCommon.java:122)
```
Removing the @AfterEach cleanup method made that go away. The odd thing is
that with the @AfterEach, the first test would pass and the rest would fail.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]