Enable Geode examples.

See #636
This commit is contained in:
Mark Paluch
2022-04-26 10:48:37 +02:00
committed by Greg L. Turnquist
parent d48ef2a527
commit b043239eb2
3 changed files with 5 additions and 6 deletions

View File

@@ -25,13 +25,11 @@
<module>security</module>
<module>storage</module>
<module>transactions</module>
<!-- WAN Server does not stop. Disabled for now -->
<!-- <module>wan</module> -->
<module>wan</module>
</modules>
<properties>
<spring.test.data.geode.version>0.0.14.RELEASE</spring.test.data.geode.version>
<spring.test.data.geode.version>0.1.2</spring.test.data.geode.version>
</properties>
<dependencyManagement>

View File

@@ -57,7 +57,8 @@ public class WanServerConfig {
@Bean(name = "DiskStore")
DiskStoreFactoryBean diskStore(GemFireCache gemFireCache, Faker faker) throws IOException {
DiskStoreFactoryBean diskStoreFactoryBean = new DiskStoreFactoryBean();
File tempDirectory = File.createTempFile(faker.name().firstName(), faker.name().firstName());
File tempDirectory = File.createTempFile("prefix-" + faker.name().firstName(),
"suffix-" + faker.name().firstName());
tempDirectory.delete();
tempDirectory.mkdirs();
tempDirectory.deleteOnExit();