[ 
https://issues.apache.org/jira/browse/HIVE-25246?focusedWorklogId=612908&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-612908
 ]

ASF GitHub Bot logged work on HIVE-25246:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 21/Jun/21 23:10
            Start Date: 21/Jun/21 23:10
    Worklog Time Spent: 10m 
      Work Description: hmangla98 commented on a change in pull request #2396:
URL: https://github.com/apache/hive/pull/2396#discussion_r655760894



##########
File path: ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManager.java
##########
@@ -516,10 +516,17 @@ public void testHeartbeaterReplicationTxn() throws 
Exception {
     } catch (LockException e) {
       exception = e;
     }
-    Assert.assertNotNull("Txn should have been aborted", exception);
-    Assert.assertEquals(ErrorMsg.TXN_ABORTED, 
exception.getCanonicalErrorMsg());
+    Assert.assertNotNull("Source transaction with txnId: 1, missing from 
REPL_TXN_MAP", exception);

Review comment:
       If this entry is missing, the exception would be thrown which will be 
caught up in line 517. So, e would be not null.




-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 612908)
    Time Spent: 1h 20m  (was: 1h 10m)

> Fix the clean up of open repl created transactions
> --------------------------------------------------
>
>                 Key: HIVE-25246
>                 URL: https://issues.apache.org/jira/browse/HIVE-25246
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Haymant Mangla
>            Assignee: Haymant Mangla
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to