hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ka...@apache.org
Subject hadoop git commit: YARN-5343. TestContinuousScheduling#testSortedNodes fails intermittently. (Yufei Gu via kasha)
Date Wed, 10 Aug 2016 00:00:39 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 2df34ab6e -> 447ba4764


YARN-5343. TestContinuousScheduling#testSortedNodes fails intermittently. (Yufei Gu via kasha)

(cherry picked from commit 7992c0b42ceb10fd3ca6c4ced4f59b8e8998e046)


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

Branch: refs/heads/branch-2
Commit: 447ba47640de73331a3492a5488b234622d1931a
Parents: 2df34ab
Author: Karthik Kambatla <kasha@cloudera.com>
Authored: Tue Aug 9 16:50:57 2016 -0700
Committer: Karthik Kambatla <kasha@cloudera.com>
Committed: Tue Aug 9 16:51:27 2016 -0700

----------------------------------------------------------------------
 .../resourcemanager/scheduler/fair/TestContinuousScheduling.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/447ba476/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestContinuousScheduling.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestContinuousScheduling.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestContinuousScheduling.java
index f7b5f3b..6188246 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestContinuousScheduling.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestContinuousScheduling.java
@@ -167,8 +167,8 @@ public class TestContinuousScheduling extends FairSchedulerTestBase {
     Assert.assertEquals(2, nodes.size());
   }
 
-  private void triggerSchedulingAttempt() {
-    mockClock.tickMsec(
+  private void triggerSchedulingAttempt() throws InterruptedException {
+    Thread.sleep(
         2 * scheduler.getConf().getContinuousSchedulingSleepMs());
   }
 }


---------------------------------------------------------------------
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