aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wfar...@apache.org
Subject incubator-aurora git commit: Fix false passing test case in SchedulerDriverServiceTest.
Date Tue, 11 Nov 2014 03:43:04 GMT
Repository: incubator-aurora
Updated Branches:
  refs/heads/master c2412477d -> 9c9de7b51


Fix false passing test case in SchedulerDriverServiceTest.

Reviewed at https://reviews.apache.org/r/27772/


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/9c9de7b5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/9c9de7b5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/9c9de7b5

Branch: refs/heads/master
Commit: 9c9de7b51caeafb4ec4a33d4480a67d13a87458b
Parents: c241247
Author: Bill Farner <wfarner@apache.org>
Authored: Mon Nov 10 19:42:46 2014 -0800
Committer: Bill Farner <wfarner@apache.org>
Committed: Mon Nov 10 19:42:46 2014 -0800

----------------------------------------------------------------------
 .../apache/aurora/scheduler/mesos/SchedulerDriverServiceTest.java  | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/9c9de7b5/src/test/java/org/apache/aurora/scheduler/mesos/SchedulerDriverServiceTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/aurora/scheduler/mesos/SchedulerDriverServiceTest.java
b/src/test/java/org/apache/aurora/scheduler/mesos/SchedulerDriverServiceTest.java
index 11f59c9..09593b1 100644
--- a/src/test/java/org/apache/aurora/scheduler/mesos/SchedulerDriverServiceTest.java
+++ b/src/test/java/org/apache/aurora/scheduler/mesos/SchedulerDriverServiceTest.java
@@ -122,6 +122,8 @@ public class SchedulerDriverServiceTest extends EasyMockTest {
 
   @Test(expected = IllegalStateException.class)
   public void testMultipleStarts() {
+    expectCreateDriver(NEW_FRAMEWORK_ID);
+
     control.replay();
 
     driverService.startAsync().awaitRunning();


Mime
View raw message