swaroopak commented on a change in pull request #731: PHOENIX-5673 : The 
mutation state is silently getting cleared on the …
URL: https://github.com/apache/phoenix/pull/731#discussion_r391393732
 
 

 ##########
 File path: 
phoenix-core/src/test/java/org/apache/phoenix/schema/MutationTest.java
 ##########
 @@ -55,9 +55,13 @@ private void testDurability(boolean disableWAL) throws 
Exception {
             assertDurability(conn,expectedDurability);
             conn.createStatement().execute("DELETE FROM t1 WHERE k=1");
             assertDurability(conn,expectedDurability);
-            conn.createStatement().execute("DROP TABLE t1");
         } finally {
-            conn.close();
+            try {
+                conn.rollback();
 
 Review comment:
   want to use try-with-resource instead?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to