SQOOP-3413: TestMainframeManager does not restore the inner state of AccumuloUtil
authorFero Szabo <fero@apache.org>
Tue, 27 Nov 2018 15:52:09 +0000 (16:52 +0100)
committerFero Szabo <fero@apache.org>
Tue, 27 Nov 2018 15:52:09 +0000 (16:52 +0100)
(Szabolcs Vasas via Fero Szabo)

This closes #52

src/test/org/apache/sqoop/manager/TestMainframeManager.java

index 654e20c..5c0d00a 100644 (file)
@@ -140,6 +140,7 @@ public class TestMainframeManager extends BaseSqoopTestCase {
     } catch (IOException e) {
       fail("No IOException should be thrown!");
     } finally {
+      AccumuloUtil.setAlwaysNoAccumuloJarMode(false);
       opts.setAccumuloTable(null);
     }
   }