PHOENIX-5026 Addendum; test-fix.

Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/027d21e2
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/027d21e2
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/027d21e2

Branch: refs/heads/4.x-cdh5.15
Commit: 027d21e2a87aadaae030d9a06fc25ec8a59e4267
Parents: f6b7594
Author: Lars Hofhansl <la...@apache.org>
Authored: Thu Nov 22 21:11:19 2018 +0000
Committer: Pedro Boado <pbo...@apache.org>
Committed: Tue Nov 27 15:12:22 2018 +0000

----------------------------------------------------------------------
 .../java/org/apache/phoenix/end2end/UpsertSelectAutoCommitIT.java  | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/027d21e2/phoenix-core/src/it/java/org/apache/phoenix/end2end/UpsertSelectAutoCommitIT.java
----------------------------------------------------------------------
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/UpsertSelectAutoCommitIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/UpsertSelectAutoCommitIT.java
index c56296c..6fad376 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/UpsertSelectAutoCommitIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/UpsertSelectAutoCommitIT.java
@@ -192,6 +192,8 @@ public class UpsertSelectAutoCommitIT extends 
ParallelStatsDisabledIT {
             int upsertCount = stmt.executeUpdate();
             assertEquals((int)Math.pow(2, i), upsertCount);
         }
+        // cleanup after ourselves
+        conn.createStatement().execute("DROP SEQUENCE keys");
         admin.close();
         conn.close();
     }

Reply via email to