Jacob S. Barrett created GEODE-2160:
---------------------------------------

             Summary: gfsh stop server/locator exits with code 0 before 
server/locator actually stops
                 Key: GEODE-2160
                 URL: https://issues.apache.org/jira/browse/GEODE-2160
             Project: Geode
          Issue Type: Bug
            Reporter: Jacob S. Barrett


Executing
{code}
gfsh stop server --name=server1
{code}
{{gfsh}} exits, with code 0, prior to the server actually being stopped.

Simple test:
{code}
gfsh start server --name=s2 && sleep 10 && gfsh stop server --dir=s2; echo $?; 
while (kill -0 `cat s2/vf.gf.server.pid`); do date +%s.%N; done
{code}
Starts server, waits 10s, stops server, prints exit code, loops until process 
is gone while printing the time since epoch.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to