nemo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeongy...@apache.org
Subject [incubator-nemo] 05/40: fix tests
Date Fri, 06 Apr 2018 02:35:45 GMT
This is an automated email from the ASF dual-hosted git repository.

jeongyoon pushed a commit to branch skew_exp
in repository https://gitbox.apache.org/repos/asf/incubator-nemo.git

commit ae28a8647dc8bf88a6509101ba700a7a34b52613
Author: sanha <sanhaleehana@naver.com>
AuthorDate: Mon Mar 5 16:58:50 2018 +0900

    fix tests
---
 .../tests/runtime/master/scheduler/RoundRobinSchedulingPolicyTest.java  | 2 +-
 .../nemo/tests/runtime/master/scheduler/SingleTaskGroupQueueTest.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/src/test/java/edu/snu/nemo/tests/runtime/master/scheduler/RoundRobinSchedulingPolicyTest.java
b/tests/src/test/java/edu/snu/nemo/tests/runtime/master/scheduler/RoundRobinSchedulingPolicyTest.java
index 2a7fac0..70ab31c 100644
--- a/tests/src/test/java/edu/snu/nemo/tests/runtime/master/scheduler/RoundRobinSchedulingPolicyTest.java
+++ b/tests/src/test/java/edu/snu/nemo/tests/runtime/master/scheduler/RoundRobinSchedulingPolicyTest.java
@@ -205,7 +205,7 @@ public final class RoundRobinSchedulingPolicyTest {
       final String taskGroupId = RuntimeIdGenerator.generateTaskGroupId(taskGroupIdx, stageId);
       scheduledTaskGroups.add(
           new ScheduledTaskGroup("TestPlan", serializedTaskGroupDag, taskGroupId, Collections.emptyList(),
-              Collections.emptyList(), MAGIC_SCHEDULE_ATTEMPT_INDEX, containerType, Collections.emptyMap()));
+              Collections.emptyList(), MAGIC_SCHEDULE_ATTEMPT_INDEX, containerType, Collections.emptyMap(),
false));
     }
     return scheduledTaskGroups;
   }
diff --git a/tests/src/test/java/edu/snu/nemo/tests/runtime/master/scheduler/SingleTaskGroupQueueTest.java
b/tests/src/test/java/edu/snu/nemo/tests/runtime/master/scheduler/SingleTaskGroupQueueTest.java
index d48192f..fb6db1f 100644
--- a/tests/src/test/java/edu/snu/nemo/tests/runtime/master/scheduler/SingleTaskGroupQueueTest.java
+++ b/tests/src/test/java/edu/snu/nemo/tests/runtime/master/scheduler/SingleTaskGroupQueueTest.java
@@ -400,7 +400,7 @@ public final class SingleTaskGroupQueueTest {
     stage.getTaskGroupIds().forEach(taskGroupId ->
         pendingTaskGroupPriorityQueue.enqueue(new ScheduledTaskGroup(
             "TestPlan", stage.getSerializedTaskGroupDag(), taskGroupId, Collections.emptyList(),
-            Collections.emptyList(), 0, stage.getContainerType(), Collections.emptyMap())));
+            Collections.emptyList(), 0, stage.getContainerType(), Collections.emptyMap(),
false)));
   }
 
   /**

-- 
To stop receiving notification emails like this one, please contact
jeongyoon@apache.org.

Mime
View raw message