InvisibleProgrammer commented on code in PR #3451:
URL: https://github.com/apache/hive/pull/3451#discussion_r928799981
##########
ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/TestWorker.java:
##########
@@ -1008,6 +1003,22 @@ public void testWorkerAndInitiatorVersion() throws
Exception {
}
+ @Test
+ public void testFindNextCompactThrowsTException() throws Exception {
+ LOG.debug("Starting minorTableWithBase");
+
+ Worker worker = Mockito.spy(new Worker());
+
Review Comment:
Removed as many as possible to keep the Arrange-Act-Assert structure. If I
remove more lines, it will be really hard to figure out what the test exactly
does.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]