Skip to content

Commit

Permalink
wip test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmetmircik committed Jun 10, 2021
1 parent 5988a9f commit a60d504
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Expand Up @@ -319,7 +319,7 @@ public void testCacheConfig() {

WanReplicationRef wanRef = cacheConfig.getWanReplicationRef();
assertEquals("testWan", wanRef.getName());
assertEquals("PUT_IF_ABSENT", wanRef.getMergePolicyClassName());
assertEquals("PutIfAbsentMergePolicy", wanRef.getMergePolicyClassName());
assertEquals(1, wanRef.getFilters().size());
assertEquals("com.example.SampleFilter", wanRef.getFilters().get(0));
}
Expand Down Expand Up @@ -404,7 +404,7 @@ public void testMapConfig() {
// test testMapConfig2's WanReplicationConfig
WanReplicationRef wanReplicationRef = testMapConfig2.getWanReplicationRef();
assertEquals("testWan", wanReplicationRef.getName());
assertEquals("PUT_IF_ABSENT", wanReplicationRef.getMergePolicyClassName());
assertEquals("PutIfAbsentMergePolicy", wanReplicationRef.getMergePolicyClassName());
assertTrue(wanReplicationRef.isRepublishingEnabled());

assertEquals(1000, testMapConfig2.getEvictionConfig().getSize());
Expand Down Expand Up @@ -471,7 +471,7 @@ public void testMapNoWanMergePolicy() {
// test testMapConfig2's WanReplicationConfig
WanReplicationRef wanReplicationRef = testMapConfig2.getWanReplicationRef();
assertEquals("testWan", wanReplicationRef.getName());
assertEquals("PUT_IF_ABSENT", wanReplicationRef.getMergePolicyClassName());
assertEquals("PutIfAbsentMergePolicy", wanReplicationRef.getMergePolicyClassName());
}

@Test
Expand Down
Expand Up @@ -374,7 +374,7 @@
implementation="dummyMapStore"
write-delay-seconds="0"
initial-mode="LAZY"/>
<hz:wan-replication-ref name="testWan" merge-policy-class-name="PUT_IF_ABSENT"/>
<hz:wan-replication-ref name="testWan" merge-policy-class-name="PutIfAbsentMergePolicy"/>

<hz:entry-listeners>
<hz:entry-listener class-name="com.hazelcast.spring.DummyEntryListener" include-value="true"/>
Expand Down Expand Up @@ -508,7 +508,7 @@
</hz:map>

<hz:cache name="testCache" disable-per-entry-invalidation-events="true">
<hz:wan-replication-ref name="testWan" merge-policy-class-name="PUT_IF_ABSENT"
<hz:wan-replication-ref name="testWan" merge-policy-class-name="PutIfAbsentMergePolicy"
republishing-enabled="false">
<hz:filters>
<hz:filter-impl>com.example.SampleFilter</hz:filter-impl>
Expand Down

0 comments on commit a60d504

Please sign in to comment.