SLIDER-588 AppsThroughAgentIT test failed with 'Application registry is not 
accessible' ... more diagnostics now


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

Branch: refs/heads/feature/SLIDER-531-registry-enhancements
Commit: a9e81c0b6ba05bc45d5c135c503238c12ea4e715
Parents: 2ac8428
Author: Steve Loughran <ste...@apache.org>
Authored: Fri Oct 31 17:06:48 2014 +0000
Committer: Steve Loughran <ste...@apache.org>
Committed: Fri Oct 31 17:06:48 2014 +0000

----------------------------------------------------------------------
 .../apache/slider/funtest/framework/CommandTestBase.groovy  | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a9e81c0b/slider-funtest/src/main/groovy/org/apache/slider/funtest/framework/CommandTestBase.groovy
----------------------------------------------------------------------
diff --git 
a/slider-funtest/src/main/groovy/org/apache/slider/funtest/framework/CommandTestBase.groovy
 
b/slider-funtest/src/main/groovy/org/apache/slider/funtest/framework/CommandTestBase.groovy
index 072b07e..9a1824d 100644
--- 
a/slider-funtest/src/main/groovy/org/apache/slider/funtest/framework/CommandTestBase.groovy
+++ 
b/slider-funtest/src/main/groovy/org/apache/slider/funtest/framework/CommandTestBase.groovy
@@ -806,9 +806,14 @@ abstract class CommandTestBase extends SliderTestUtils {
         PROBE_SLEEP_TIME,
         [application: application],
         true,
-        'Application registry is not accessible, failing test.') {
-      describe "final state of app that tests say is not able to access 
registry"
+        "Application registry is not accessible after 
$REGISTRY_STARTUP_TIMEOUT") {
+      describe "Not able to access registry after after 
$REGISTRY_STARTUP_TIMEOUT"
       exists(application, true).dumpOutput()
+      SliderShell shell = registry(0, [
+              ARG_NAME,
+              application,
+              ARG_LISTEXP
+          ])
     }
   }
 

Reply via email to