knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmin...@apache.org
Subject git commit: KNOX-23: Generate audit log of all gateway activity
Date Mon, 27 Jan 2014 20:59:41 GMT
Updated Branches:
  refs/heads/master f69acbbc4 -> 3fbe52952


KNOX-23: Generate audit log of all gateway activity


Project: http://git-wip-us.apache.org/repos/asf/incubator-knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-knox/commit/3fbe5295
Tree: http://git-wip-us.apache.org/repos/asf/incubator-knox/tree/3fbe5295
Diff: http://git-wip-us.apache.org/repos/asf/incubator-knox/diff/3fbe5295

Branch: refs/heads/master
Commit: 3fbe52952471c83fab3c820c606ef9dd15e2c830
Parents: f69acbb
Author: Kevin Minder <kevin.minder@hortonworks.com>
Authored: Mon Jan 27 15:59:07 2014 -0500
Committer: Kevin Minder <kevin.minder@hortonworks.com>
Committed: Mon Jan 27 15:59:07 2014 -0500

----------------------------------------------------------------------
 .../java/org/apache/hadoop/gateway/audit/JdbmQueueTest.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/3fbe5295/gateway-util-common/src/test/java/org/apache/hadoop/gateway/audit/JdbmQueueTest.java
----------------------------------------------------------------------
diff --git a/gateway-util-common/src/test/java/org/apache/hadoop/gateway/audit/JdbmQueueTest.java
b/gateway-util-common/src/test/java/org/apache/hadoop/gateway/audit/JdbmQueueTest.java
index 4447221..b1d5d19 100644
--- a/gateway-util-common/src/test/java/org/apache/hadoop/gateway/audit/JdbmQueueTest.java
+++ b/gateway-util-common/src/test/java/org/apache/hadoop/gateway/audit/JdbmQueueTest.java
@@ -151,9 +151,9 @@ public class JdbmQueueTest {
         humanReadableSize( ( ( dbFile.length() + lgFile.length() ) / writeCount ) ) ) );
   }
 
-  @Test( timeout = 80000 )
+  @Test( timeout = 120000 )
   public void testConcurrentConsumer() throws InterruptedException {
-    int iterations = 1000;
+    int iterations = 100;
     HashSet<String> consumed = new HashSet<String>();
     Consumer consumer = new Consumer( consumed );
     consumer.start();
@@ -171,9 +171,9 @@ public class JdbmQueueTest {
     assertThat( consumed.size(), is( iterations * 2 ) );
   }
 
-  @Test( timeout=80000 )
+  @Test( timeout=120000 )
   public void testConcurrentProcessor() throws InterruptedException {
-    int iterations = 1000;
+    int iterations = 100;
     HashSet<String> consumed = new HashSet<String>();
     Processor consumer = new Processor( consumed );
     consumer.start();


Mime
View raw message