kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdcry...@apache.org
Subject incubator-kudu git commit: [java client] Make integration tests run in kudu-client, fix one
Date Fri, 01 Jul 2016 00:13:08 GMT
Repository: incubator-kudu
Updated Branches:
  refs/heads/master aa3d4473d -> 88acae32a


[java client] Make integration tests run in kudu-client, fix one

Change-Id: I00818a4463a1045e5299568566954b441e708946
Reviewed-on: http://gerrit.cloudera.org:8080/3544
Tested-by: Kudu Jenkins
Reviewed-by: Dan Burkert <dan@cloudera.com>
Reviewed-by: Adar Dembo <adar@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kudu/commit/88acae32
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kudu/tree/88acae32
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kudu/diff/88acae32

Branch: refs/heads/master
Commit: 88acae32aa8f28407a97a79525e8858e7ceb3cbc
Parents: aa3d447
Author: Jean-Daniel Cryans <jdcryans@apache.org>
Authored: Thu Jun 30 14:33:39 2016 -0700
Committer: Jean-Daniel Cryans <jdcryans@apache.org>
Committed: Fri Jul 1 00:10:53 2016 +0000

----------------------------------------------------------------------
 java/kudu-client/pom.xml                                       | 4 ++++
 java/kudu-client/src/test/java/org/kududb/client/ITClient.java | 2 ++
 2 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/88acae32/java/kudu-client/pom.xml
----------------------------------------------------------------------
diff --git a/java/kudu-client/pom.xml b/java/kudu-client/pom.xml
index e155509..28d50ea 100644
--- a/java/kudu-client/pom.xml
+++ b/java/kudu-client/pom.xml
@@ -258,6 +258,10 @@
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-surefire-plugin</artifactId>
             </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-failsafe-plugin</artifactId>
+            </plugin>
           </plugins>
 
         <!-- This big ol' block of nonsense tells the m2e Eclipse plugin what

http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/88acae32/java/kudu-client/src/test/java/org/kududb/client/ITClient.java
----------------------------------------------------------------------
diff --git a/java/kudu-client/src/test/java/org/kududb/client/ITClient.java b/java/kudu-client/src/test/java/org/kududb/client/ITClient.java
index 6b97963..a684596 100644
--- a/java/kudu-client/src/test/java/org/kududb/client/ITClient.java
+++ b/java/kudu-client/src/test/java/org/kududb/client/ITClient.java
@@ -16,6 +16,7 @@
 // under the License.
 package org.kududb.client;
 
+import com.google.common.collect.ImmutableList;
 import org.junit.Assert;
 import org.junit.BeforeClass;
 import org.junit.Test;
@@ -82,6 +83,7 @@ public class ITClient extends BaseKuduTest {
     localClient = new KuduClient(localAsyncClient);
 
     CreateTableOptions builder = new CreateTableOptions().setNumReplicas(3);
+    builder.setRangePartitionColumns(ImmutableList.of("key"));
     table = localClient.createTable(TABLE_NAME, basicSchema, builder);
   }
 


Mime
View raw message