accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject [1/5] accumulo git commit: ACCUMULO-3912 Only configure conurrent namespaces in conucurrent test
Date Tue, 23 Jun 2015 22:38:16 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master 84a42bb59 -> c91d713bb


ACCUMULO-3912 Only configure conurrent namespaces in conucurrent test


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/2721bc83
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/2721bc83
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/2721bc83

Branch: refs/heads/master
Commit: 2721bc839944cc86cb0a6045293e5d928a0ea520
Parents: 3509547
Author: Keith Turner <kturner@apache.org>
Authored: Tue Jun 23 16:33:41 2015 -0400
Committer: Keith Turner <kturner@apache.org>
Committed: Tue Jun 23 16:49:04 2015 -0400

----------------------------------------------------------------------
 .../org/apache/accumulo/test/randomwalk/concurrent/Config.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/2721bc83/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/Config.java
----------------------------------------------------------------------
diff --git a/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/Config.java
b/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/Config.java
index 402f139..1f4a284 100644
--- a/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/Config.java
+++ b/test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/Config.java
@@ -201,7 +201,7 @@ public class Config extends Test {
     Setting setting = tableSettings[choice];
 
     // pick a random table
-    SortedSet<String> namespaces = state.getConnector().namespaceOperations().list();
+    SortedSet<String> namespaces = state.getConnector().namespaceOperations().list().tailSet("nspc").headSet("nspd");
     if (namespaces.isEmpty())
       return;
     String namespace = random.nextSample(namespaces, 1)[0].toString();


Mime
View raw message