@Test(expected = SQLException.class)
  public void testExpiredJwt() throws Exception {
    String jwt = generateJWT(USER_1, jwtAuthorizedKeyFile.toPath(), 1);
    Thread.sleep(1);
    HiveConnection connection = getConnection(jwt, true);
  }
This is a hack to make environment variables modifiable.
Ref: https://stackoverflow.com/questions/318239/how-do-i-set-environment-variables-from-java.
itests/hive-unit/src/test/java/org/apache/hive/service/auth/jwt/TestHttpJwtAuthentication.java