You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2020/12/14 15:09:16 UTC
[accumulo-testing] branch main updated: update test with correct
API call (#131)
This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-testing.git
The following commit(s) were added to refs/heads/main by this push:
new ec55973 update test with correct API call (#131)
ec55973 is described below
commit ec55973f5bdd297666090087e4792aa32d2c3d5e
Author: rchoksi-hw <rc...@users.noreply.github.com>
AuthorDate: Mon Dec 14 07:09:04 2020 -0800
update test with correct API call (#131)
Co-authored-by: romil choksi <rc...@cloudera.com>
---
.../java/org/apache/accumulo/testing/randomwalk/conditional/Init.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/accumulo/testing/randomwalk/conditional/Init.java b/src/main/java/org/apache/accumulo/testing/randomwalk/conditional/Init.java
index 0661a69..2698809 100644
--- a/src/main/java/org/apache/accumulo/testing/randomwalk/conditional/Init.java
+++ b/src/main/java/org/apache/accumulo/testing/randomwalk/conditional/Init.java
@@ -53,7 +53,7 @@ public class Init extends Test {
for (int i = 0; i < numBanks; i++)
banks.add(i);
// shuffle for case when multiple threads are adding banks
- Collections.shuffle(banks, (Random) state.get("rand"));
+ Collections.shuffle(banks, (Random) state.getRandom());
ConditionalWriter cw = (ConditionalWriter) state.get("cw");