[ 
https://issues.apache.org/jira/browse/GEODE-6825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kirk Lund updated GEODE-6825:
-----------------------------
    Priority: Minor  (was: Major)

> Specify workingDirectory when creating GMSLocator
> -------------------------------------------------
>
>                 Key: GEODE-6825
>                 URL: https://issues.apache.org/jira/browse/GEODE-6825
>             Project: Geode
>          Issue Type: Improvement
>          Components: locator
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>            Priority: Minor
>
> I want to be able to specify the workingDirectory when constructing a 
> GMSLocator which will then be used for the location of the locator view files 
> (locator<pid>view.dat). This will be used by tests to allow the use of 
> TemporaryFolder junit rule for location of the locator view files. This will 
> eliminate the potential for file system pollution of locator view files.
> Default value for workingDirectory is System.getProperty("user.dir").
> Specifically, I intend to use this from tests that use LocatorLauncher. The 
> full path from LocatorLauncher to GMSLocator is:
> LocatorLauncher.start()
> -> InternalLocator.startLocator(int, File, InternalLogWriter, 
> InternalLogWriter, InetAddress, boolean, Properties, String)
> -> InternalLocator.startPeerLocation()
> -> MemberFactory.newLocatorHandler(InetAddress, String, boolean, boolean, 
> LocatorStats, String)
> -> GMSMemberFactory.newLocatorHandler(InetAddress, String, boolean, boolean, 
> LocatorStats, String)
> -> GMSLocator.GMSLocator(InetAddress, String, boolean, boolean, LocatorStats, 
> String)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to