private void checkConfVal(String confKey, String confResult, Statement stmt) throws SQLException {
    ResultSet res = stmt.executeQuery("set " + confKey);
    assertTrue(res.next());
    assertEquals("Expected config result", confResult, res.getString(1));
    res.close();
  }
Test if the MiniHS2 configuration gets passed down to the session
configuration

@throws Exception
itests/hive-unit/src/test/java/org/apache/hive/jdbc/miniHS2/TestMiniHS2.java