private void testCurrentTimestamp(String scriptText) throws Throwable {
    Timestamp today = new Timestamp(System.currentTimeMillis());
    String timestamp = today.toString();
    testScriptFile(scriptText, args(), timestamp.substring(0, timestamp.length() - 9));
  }
Start up a local Hive Server 2 for these tests
itests/hive-unit/src/test/java/org/apache/hive/beeline/TestHplSqlViaBeeLine.java