for 1.1.2.RELEASE, upgraded to Gemfire 6.6.3, SGF-85,SGF-99
This commit is contained in:
@@ -2,6 +2,16 @@ SPRING DATA GEMFIRE CHANGELOG
|
||||
=============================
|
||||
http://www.springsource.org/spring-gemfire
|
||||
|
||||
Changes in version 1.1.2.RELEASE (2012-07-25)
|
||||
---------------------------------------------
|
||||
|
||||
General
|
||||
* Upgraded to GemFire 6.6.3
|
||||
|
||||
Package org.springframework.data.gemfire.config
|
||||
* Fixed incorrect parsing of pdx-disk-store attribute
|
||||
* Fixed a bug in DiskStoreAndEvictionRegionParsingTest that caused the test to fail if a temporary directory does not exist
|
||||
|
||||
Changes in version 1.1.1.RELEASE (2012-03-20)
|
||||
---------------------------------------------
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ slf4jVersion = 1.6.4
|
||||
|
||||
# Common libraries
|
||||
springVersion = 3.1.1.RELEASE
|
||||
gemfireVersion = 6.6.2
|
||||
gemfireVersion = 6.6.3
|
||||
|
||||
# Testing
|
||||
junitVersion = 4.8.1
|
||||
@@ -21,4 +21,4 @@ gemfire.range = "[6.5, 7.0)"
|
||||
# --------------------
|
||||
# Project wide version
|
||||
# --------------------
|
||||
springGemfireVersion=1.1.2.BUILD-SNAPSHOT
|
||||
springGemfireVersion=1.1.2.RELEASE
|
||||
@@ -22,6 +22,8 @@ import static org.junit.Assert.assertTrue;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -52,6 +54,25 @@ public class DiskStoreAndEvictionRegionParsingTest {
|
||||
@Autowired
|
||||
private ApplicationContext context;
|
||||
|
||||
private static File diskStoreDir;
|
||||
|
||||
@BeforeClass
|
||||
public static void setUp() {
|
||||
String path = "./build/tmp";
|
||||
diskStoreDir = new File(path);
|
||||
if (!diskStoreDir.exists()) {
|
||||
diskStoreDir.mkdir();
|
||||
}
|
||||
}
|
||||
|
||||
@AfterClass
|
||||
public static void tearDown() {
|
||||
for (File file : diskStoreDir.listFiles()) {
|
||||
file.delete();
|
||||
}
|
||||
diskStoreDir.delete();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testReplicaDataOptions() throws Exception {
|
||||
assertTrue(context.containsBean("replicated-data"));
|
||||
@@ -82,8 +103,9 @@ public class DiskStoreAndEvictionRegionParsingTest {
|
||||
EvictionAttributes evicAttr = attrs.getEvictionAttributes();
|
||||
assertEquals(EvictionAction.LOCAL_DESTROY, evicAttr.getAction());
|
||||
assertEquals(EvictionAlgorithm.LRU_MEMORY, evicAttr.getAlgorithm());
|
||||
// for some reason GemFire resets this to 56 on my machine (not sure why)
|
||||
//assertEquals(10, evicAttr.getMaximum());
|
||||
// for some reason GemFire resets this to 56 on my machine (not sure
|
||||
// why)
|
||||
// assertEquals(10, evicAttr.getMaximum());
|
||||
ObjectSizer sizer = evicAttr.getObjectSizer();
|
||||
assertEquals(SimpleObjectSizer.class, sizer.getClass());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user