hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From epa...@apache.org
Subject hadoop git commit: YARN-6618. TestNMLeveldbStateStoreService#testCompactionCycle can fail if compaction occurs more than once. Contributed by Jason Lowe.
Date Fri, 19 May 2017 16:26:13 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 009b9f3eb -> 19482e0d0


YARN-6618. TestNMLeveldbStateStoreService#testCompactionCycle can fail if compaction occurs
more than once. Contributed by Jason Lowe.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/19482e0d
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/19482e0d
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/19482e0d

Branch: refs/heads/trunk
Commit: 19482e0d0990feb719678d71971aa849095982fd
Parents: 009b9f3
Author: Eric Payne <epayne@apache.org>
Authored: Fri May 19 11:24:54 2017 -0500
Committer: Eric Payne <epayne@apache.org>
Committed: Fri May 19 11:24:54 2017 -0500

----------------------------------------------------------------------
 .../nodemanager/recovery/TestNMLeveldbStateStoreService.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/19482e0d/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/recovery/TestNMLeveldbStateStoreService.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/recovery/TestNMLeveldbStateStoreService.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/recovery/TestNMLeveldbStateStoreService.java
index 6909474..537f849 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/recovery/TestNMLeveldbStateStoreService.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/recovery/TestNMLeveldbStateStoreService.java
@@ -943,7 +943,7 @@ public class TestNMLeveldbStateStoreService {
     };
     store.init(conf);
     store.start();
-    verify(mockdb, timeout(10000)).compactRange(
+    verify(mockdb, timeout(10000).atLeastOnce()).compactRange(
         (byte[]) isNull(), (byte[]) isNull());
     store.close();
   }


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message