Jared Stewart created GEODE-3945:
------------------------------------

             Summary: Display more information for GfshRule failures
                 Key: GEODE-3945
                 URL: https://issues.apache.org/jira/browse/GEODE-3945
             Project: Geode
          Issue Type: Improvement
          Components: gfsh, tests
            Reporter: Jared Stewart


GEODE-3830 added a feature to dump log files to the console when a script 
executed by GfshRule has failures.  However, the directories in which it will 
look for log files need to be expanded.

Consider the following example: 

{noformat}
    GfshScript.of("start locator --name=locator", "start server 
--name=server").execute(gfshRule);
    GfshScript.of("connect", "status locator 
--name=locator1").execute(gfshRule);
{noformat}

Say that "status locator" fails.  Currently, the GfshRule will only dump log 
files associated with members started by *that* particular gfsh script.

More specifically, there will be a directory structure like this: 
/tempFolder/script1/locator/
/tempFolder/script1/server/
/tempFolder/script2/

GfshRule will only display log files from subdirectories of the script that 
failed.  (So when script2 fails, it won't display the log files of Locator or 
Server, since those are under the script1 directory).  We should change that to 
include every directory under tempFolder recursively.

(See GfshExecution#printLogFiles).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to