accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmil...@apache.org
Subject [accumulo] branch master updated: Use secureRandom in ManyWriteAheadLogsIT
Date Thu, 03 Jan 2019 22:15:21 GMT
This is an automated email from the ASF dual-hosted git repository.

mmiller pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/master by this push:
     new 966a4ad  Use secureRandom in ManyWriteAheadLogsIT
966a4ad is described below

commit 966a4ad0f5b08b4209f9a1a61b54ce6ad972cd01
Author: Mike Miller <mmiller@apache.org>
AuthorDate: Thu Jan 3 17:13:23 2019 -0500

    Use secureRandom in ManyWriteAheadLogsIT
---
 .../java/org/apache/accumulo/test/functional/ManyWriteAheadLogsIT.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/src/main/java/org/apache/accumulo/test/functional/ManyWriteAheadLogsIT.java
b/test/src/main/java/org/apache/accumulo/test/functional/ManyWriteAheadLogsIT.java
index 3c66cd5..d88b99b 100644
--- a/test/src/main/java/org/apache/accumulo/test/functional/ManyWriteAheadLogsIT.java
+++ b/test/src/main/java/org/apache/accumulo/test/functional/ManyWriteAheadLogsIT.java
@@ -19,6 +19,7 @@ package org.apache.accumulo.test.functional;
 
 import static org.junit.Assert.assertTrue;
 
+import java.security.SecureRandom;
 import java.util.Base64;
 import java.util.HashSet;
 import java.util.Map;
@@ -94,7 +95,7 @@ public class ManyWriteAheadLogsIT extends AccumuloClusterHarness {
 
       c.tableOperations().create(rollWALsTable);
 
-      Random rand = new Random();
+      Random rand = new SecureRandom();
 
       Set<String> allWalsSeen = new HashSet<>();
 


Mime
View raw message