Eugene Koifman created HIVE-20859: ------------------------------------- Summary: clean up invocation of Worker/Cleaner/Initiator in test code Key: HIVE-20859 URL: https://issues.apache.org/jira/browse/HIVE-20859 Project: Hive Issue Type: Improvement Components: Test, Transactions Affects Versions: 3.0.0 Reporter: Eugene Koifman
there are many places like {{CompactorTest}} that use {code:java|title=CompactorTest.java} AtomicBoolean stop = new AtomicBoolean(true); Worker t = new Worker(); t.setThreadId((int) t.getId()); t.setConf(hiveConf); AtomicBoolean looped = new AtomicBoolean(); t.init(stop, looped); t.run(); {code} should instead standardize on {{TestTxnCommands2.runWorker()}} same for {{Cleaner}} and {{Initiator}} -- This message was sent by Atlassian JIRA (v7.6.3#76005)