You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2022/01/20 21:27:24 UTC

[GitHub] [geode] kirklund edited a comment on pull request #7282: GEODE-9969: Fix unescaping the region name with underscore

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


   @DonalEvans @mkevo `--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)
   * [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 they're probably not quite as good):
   * [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)
   
   You can get a reference to the `Process` (to kill it) from `GfshExecution.getProcess()`. `GfshExecution` for that server is returned from `gfshRule.execute(startServerCommand);`
   
   > @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: notifications-unsubscribe@geode.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org