DonalEvans edited a comment on pull request #7282:
URL: https://github.com/apache/geode/pull/7282#issuecomment-1016787747


   `--dir` won't work in a distributed test (dunit). It will however work in an 
acceptance test. Take a look at the tests under:
   * 
[geode-assembly/src/acceptanceTest/java/org/apache/geode/serialization/filter/](https://github.com/apache/geode/tree/develop/geode-assembly/src/acceptanceTest/java/org/apache/geode/serialization/filter)
   * 
[https://github.com/apache/geode/tree/develop/geode-assembly/src/acceptanceTest/java/org/apache/geode/logging/](https://github.com/apache/geode/tree/develop/geode-assembly/src/acceptanceTest/java/org/apache/geode/logging)
   
   And (these are older tests so probably not as good):
   * 
[https://github.com/apache/geode/tree/develop/geode-assembly/src/acceptanceTest/java/org/apache/geode/launchers/](https://github.com/apache/geode/tree/develop/geode-assembly/src/acceptanceTest/java/org/apache/geode/launchers)
   
   > @mkevo I might be wrong, but I think it should be possible to get a new 
server to use the working directory of a shutdown server using the `--dir` 
option on the `start server` gfsh command. By default, the directory is named 
after the server, but you should be able to do something like:
   > ```
   > start server --name=server1 --server-port=40401
   > 
   > ***kill the server***
   > 
   > start server --name=server2 --dir=server1 --server-port=40402
   > ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to