Change the default value for register interest receive values to true, matching the GemFire/Geode default.
Resolves gh-21.
This commit is contained in:
@@ -107,7 +107,7 @@ public abstract class AbstractGemFireOperationsSessionRepository
|
||||
|
||||
private static final boolean DEFAULT_REGISTER_INTEREST_ENABLED = false;
|
||||
private static final boolean DEFAULT_REGISTER_INTEREST_DURABILITY = false;
|
||||
private static final boolean DEFAULT_REGISTER_INTEREST_RECEIVE_VALUES = false;
|
||||
private static final boolean DEFAULT_REGISTER_INTEREST_RECEIVE_VALUES = true;
|
||||
|
||||
private static final AtomicBoolean usingDataSerialization = new AtomicBoolean(false);
|
||||
|
||||
|
||||
@@ -635,7 +635,7 @@ public class AbstractGemFireOperationsSessionRepositoryTests {
|
||||
verify(this.sessionRepository, times(1)).registerInterest(eq("1"));
|
||||
verify(this.sessionRepository, times(1)).isRegisterInterestEnabled();
|
||||
verify(this.mockRegion, times(1))
|
||||
.registerInterest(eq("1"), eq(InterestResultPolicy.NONE), eq(false), eq(false));
|
||||
.registerInterest(eq("1"), eq(InterestResultPolicy.NONE), eq(false), eq(true));
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -676,7 +676,7 @@ public class AbstractGemFireOperationsSessionRepositoryTests {
|
||||
verify(this.sessionRepository, times(2)).registerInterest(eq("1"));
|
||||
verify(this.sessionRepository, times(2)).isRegisterInterestEnabled();
|
||||
verify(this.mockRegion, times(1))
|
||||
.registerInterest(eq("1"), eq(InterestResultPolicy.NONE), eq(false), eq(false));
|
||||
.registerInterest(eq("1"), eq(InterestResultPolicy.NONE), eq(false), eq(true));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user