Modify AsyncInlineCachingRegionConfigurer to append to the list of AEQs registered on the Region when configuring Async, Inline Caching.

This commit is contained in:
John Blum
2020-09-18 16:46:47 -07:00
parent da073b8ef3
commit 8abf6687d2
2 changed files with 2 additions and 3 deletions

View File

@@ -242,7 +242,7 @@ public class AsyncInlineCachingRegionConfigurerUnitTests {
verify(regionConfigurer, times(1))
.newAsyncEventQueue(eq(mockCache), eq("TestRegion"));
verify(peerRegionFactoryBean, times(1))
.setAsyncEventQueues(eq(ArrayUtils.asArray(mockAsyncEventQueue)));
.addAsyncEventQueues(eq(ArrayUtils.asArray(mockAsyncEventQueue)));
verifyNoMoreInteractions(regionConfigurer, peerRegionFactoryBean);
verifyNoInteractions(mockAsyncEventQueue, mockCache, mockRepository);