[
https://issues.apache.org/jira/browse/GEODE-5641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16595656#comment-16595656
]
ASF subversion and git services commented on GEODE-5641:
--------------------------------------------------------
Commit ebe44c22d30774a916beca33c2316289a44ca3c5 in geode's branch
refs/heads/develop from [[email protected]]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=ebe44c2 ]
GEODE-5641: add no-arg constructor to DiskDirRule
To redirect default disk store to a TemporaryFolder, you can simply
add this to any test:
@Rule
public DiskDirRule diskDirRule = new DiskDirRule();
Or in a DistributedTest use:
@Rule
public DistributedDiskDirRule diskDirRule = new DistributedDiskDirRule();
> DiskDirRule should have a public no-arg constructor
> ---------------------------------------------------
>
> Key: GEODE-5641
> URL: https://issues.apache.org/jira/browse/GEODE-5641
> Project: Geode
> Issue Type: Wish
> Components: tests
> Reporter: Kirk Lund
> Assignee: Kirk Lund
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> DiskDirRule should have a public no-arg constructor for this usage:
> {noformat}
> @Rule
> public DiskDirRule diskDirRule = new DiskDirRule();
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)