hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jl...@apache.org
Subject hadoop git commit: YARN-5343. TestContinuousScheduling#testSortedNodes fails intermittently. (Yufei Gu via kasha)
Date Tue, 02 May 2017 21:48:58 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.8 d382a2142 -> dd46bc0f5


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/dd46bc0f
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/dd46bc0f
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/dd46bc0f

Branch: refs/heads/branch-2.8
Commit: dd46bc0f54192d3f1e2e9b82e52ac5578907966f
Parents: d382a21
Author: Karthik Kambatla <kasha@cloudera.com>
Authored: Tue Aug 9 16:50:57 2016 -0700
Committer: Jason Lowe <jlowe@yahoo-inc.com>
Committed: Tue May 2 16:46:10 2017 -0500

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


http://git-wip-us.apache.org/repos/asf/hadoop/blob/dd46bc0f/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