@Override
      public void run() {
        threadToInterrupt.interrupt();
      }
Writing UTs that need multiple threads is challenging since Derby chokes on concurrent access.
This tests that "AND WAIT" actually blocks and responds to interrupt
@throws Exception
ql/src/test/org/apache/hadoop/hive/ql/TestTxnCommands.java