Github user mattyb149 commented on the issue:
https://github.com/apache/nifi/pull/2138
The "unit tests" for TestSelectHiveQL use Derby as the database, only to
test the functionality of getting the "HiveQL" statement to the database and
parsing its results. In that vein, Derby supports setQueryTimeout
([DERBY-31](https://issues.apache.org/jira/browse/DERBY-31)), so can we add a
unit test that sets the value, to exercise that part of the code?---
