private void failWithExceptionMsg(Exception e) {
    e.printStackTrace();
    fail(e.toString());
  }
Execute "set x" and extract value from key=val format result
Verify the extracted value
@param key
@param expectedVal
@throws Exception
itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcDriver2.java