SLIDER-280. Add unit and functional tests for agents discovering AM after 
restart (Gour Saha via smohanty)


Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/29ad5199
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/29ad5199
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/29ad5199

Branch: refs/heads/feature/SLIDER-149_Support_a_YARN_service_registry
Commit: 29ad51990bd8d20e1a06798e0ef15aee0f890583
Parents: f1c1f70
Author: Sumit Mohanty <smoha...@hortonworks.com>
Authored: Thu Sep 11 10:39:52 2014 -0700
Committer: Sumit Mohanty <smoha...@hortonworks.com>
Committed: Thu Sep 11 10:40:00 2014 -0700

----------------------------------------------------------------------
 .../apache/slider/providers/agent/TestAgentProviderService.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/29ad5199/slider-core/src/test/java/org/apache/slider/providers/agent/TestAgentProviderService.java
----------------------------------------------------------------------
diff --git 
a/slider-core/src/test/java/org/apache/slider/providers/agent/TestAgentProviderService.java
 
b/slider-core/src/test/java/org/apache/slider/providers/agent/TestAgentProviderService.java
index 48a5f18..aa9dd60 100644
--- 
a/slider-core/src/test/java/org/apache/slider/providers/agent/TestAgentProviderService.java
+++ 
b/slider-core/src/test/java/org/apache/slider/providers/agent/TestAgentProviderService.java
@@ -440,7 +440,7 @@ public class TestAgentProviderService {
       doReturn(true).when(mockAps).isMaster(anyString());
       doNothing().when(mockAps).addInstallCommand(eq("HBASE_MASTER"),
           eq("mockcontainer_1"), any(HeartBeatResponse.class),
-          eq("scripts/hbase_master.py"));
+          eq("scripts/hbase_master.py"), eq(600L));
       doReturn(conf).when(mockAps).getConfig();
     } catch (SliderException e) {
     }

Reply via email to