You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2022/02/25 18:21:07 UTC
[GitHub] [nifi] MikeThomsen commented on pull request #5794: NIFI-9134-9142 Multiple JUnit 5 refactorings (Metrics -> Ranger and a few others)
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: issues-unsubscribe@nifi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org