Change assertion on cache instance to assert as a peer cache.
This commit is contained in:
@@ -67,7 +67,7 @@ public class SpringBootApacheGeodePeerCacheApplicationIntegrationTests extends I
|
||||
public void peerCacheWithPeerLocalRegionAreAvailable() {
|
||||
|
||||
Optional.ofNullable(this.peerCache)
|
||||
.map(it -> assertThat(GemfireUtils.isClient(it)).isFalse())
|
||||
.map(it -> assertThat(GemfireUtils.isPeer(it)).isTrue())
|
||||
.orElseThrow(() -> newIllegalStateException("Peer cache was null"));
|
||||
|
||||
Region<Object, Object> example = this.peerCache.getRegion("/Example");
|
||||
|
||||
Reference in New Issue
Block a user