Configure the cache with 'copy-on-read'.

This commit is contained in:
John Blum
2021-12-09 10:40:17 -08:00
parent dd6178befb
commit 77ba57c553

View File

@@ -220,7 +220,7 @@ public class PdxSerializationOfComplexObjectModelIntegrationTests {
verify(pdxSerializer, atLeastOnce()).toData(eq(productTwo), any(PdxWriter.class));
}
@PeerCacheApplication(name = "PdxSerializationOfComplexObjectModelIntegrationTests")
@PeerCacheApplication(name = "PdxSerializationOfComplexObjectModelIntegrationTests", copyOnRead = true)
@EnableEntityDefinedRegions(basePackageClasses = Order.class)
@EnablePdx(serializerBeanName = "OrderPdxSerializer", readSerialized = true)
static class TestConfiguration {