You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by nr...@apache.org on 2018/01/12 17:32:29 UTC

[geode] branch feature/GEODE-3583-storage updated: GEODE-4212: Set mcast port in test

This is an automated email from the ASF dual-hosted git repository.

nreich pushed a commit to branch feature/GEODE-3583-storage
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/feature/GEODE-3583-storage by this push:
     new 0f9ecd0  GEODE-4212: Set mcast port in test
0f9ecd0 is described below

commit 0f9ecd01d829446aa6bd0b15ee1888b783f69b63
Author: Nick Reich <nr...@pivotal.io>
AuthorDate: Fri Jan 12 09:30:50 2018 -0800

    GEODE-4212: Set mcast port in test
---
 .../org/apache/geode/internal/cache/snapshot/ClientExporterTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/snapshot/ClientExporterTest.java b/geode-core/src/test/java/org/apache/geode/internal/cache/snapshot/ClientExporterTest.java
index 8a81d3b..9177b71 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/snapshot/ClientExporterTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/snapshot/ClientExporterTest.java
@@ -37,7 +37,7 @@ public class ClientExporterTest {
 
   @Test
   public void proxyExportFunctionGetsRequestedRegion() {
-    Cache cache = spy(new CacheFactory().create());
+    Cache cache = spy(new CacheFactory().set("locators", "").set("mcast-port", "0").create());
     cache.createRegionFactory(RegionShortcut.PARTITION).create("testRegion");
     ResultSender resultSender = mock(ResultSender.class);
     ClientExporter.ClientArgs<String, String> args = mock(ClientExporter.ClientArgs.class);

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