You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by km...@apache.org on 2014/01/27 21:59:41 UTC

git commit: KNOX-23: Generate audit log of all gateway activity

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 <ke...@hortonworks.com>
Authored: Mon Jan 27 15:59:07 2014 -0500
Committer: Kevin Minder <ke...@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();