diff --git a/itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java b/itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java index f357c14..2b4bd85 100644 --- a/itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java +++ b/itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java @@ -733,14 +733,12 @@ public void clearTestSideEffects() throws Exception { clearTablesCreatedDuringTests(); clearKeysCreatedInTests(); - if (clusterType != MiniClusterType.encrypted) { - // allocate and initialize a new conf since a test can - // modify conf by using 'set' commands - conf = new HiveConf (Driver.class); - initConf(); - // renew the metastore since the cluster type is unencrypted - db = Hive.get(conf); // propagate new conf to meta store - } + // allocate and initialize a new conf since a test can + // modify conf by using 'set' commands + conf = new HiveConf(Driver.class); + initConf(); + // renew the metastore since the cluster type is unencrypted + db = Hive.get(conf); // propagate new conf to meta store setup.preTest(conf); }