geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dschnei...@apache.org
Subject [geode] branch develop updated: changed DistributionManager to ClusterDistributionManager in unit test
Date Mon, 08 Jan 2018 20:08:12 GMT
This is an automated email from the ASF dual-hosted git repository.

dschneider pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 55adfec  changed DistributionManager to ClusterDistributionManager in unit test
55adfec is described below

commit 55adfecdf250bbf0331cec1cf85ce2ca08bd04c9
Author: Darrel Schneider <dschneider@pivotal.io>
AuthorDate: Mon Jan 8 12:07:41 2018 -0800

    changed DistributionManager to ClusterDistributionManager in unit test
---
 .../java/org/apache/geode/internal/cache/StateMarkerMessageTest.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/StateMarkerMessageTest.java
b/geode-core/src/test/java/org/apache/geode/internal/cache/StateMarkerMessageTest.java
index aa92b43..a436beb 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/StateMarkerMessageTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/StateMarkerMessageTest.java
@@ -16,7 +16,6 @@ package org.apache.geode.internal.cache;
 
 import static org.assertj.core.api.Assertions.assertThat;
 import static org.mockito.ArgumentMatchers.any;
-import static org.mockito.Mockito.any;
 import static org.mockito.Mockito.doThrow;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.times;
@@ -27,7 +26,7 @@ import org.junit.Test;
 import org.junit.experimental.categories.Category;
 
 import org.apache.geode.GemFireIOException;
-import org.apache.geode.distributed.internal.DistributionManager;
+import org.apache.geode.distributed.internal.ClusterDistributionManager;
 import org.apache.geode.distributed.internal.membership.InternalDistributedMember;
 import org.apache.geode.internal.cache.StateFlushOperation.StateMarkerMessage;
 import org.apache.geode.test.junit.categories.UnitTest;
@@ -45,7 +44,7 @@ public class StateMarkerMessageTest {
   @Test
   public void testProcessWithWaitForCurrentOperationsThatTimesOut() {
     InternalDistributedMember relayRecipient = mock(InternalDistributedMember.class);
-    DistributionManager dm = mock(DistributionManager.class);
+    ClusterDistributionManager dm = mock(ClusterDistributionManager.class);
     InternalCache gfc = mock(InternalCache.class);
     DistributedRegion region = mock(DistributedRegion.class);
     CacheDistributionAdvisor distributionAdvisor = mock(CacheDistributionAdvisor.class);

-- 
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <commits@geode.apache.org>'].

Mime
View raw message