geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [geode] 08/15: GEODE-4876: Update FunctionExecutionWithExceptionDistributedTest use of VM and NetworkUtil
Date Thu, 29 Mar 2018 20:22:04 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 46e98fb5e1be80c0ac6568848565c15519631d98
Author: Kirk Lund <klund@apache.org>
AuthorDate: Mon Mar 26 17:33:47 2018 -0700

    GEODE-4876: Update FunctionExecutionWithExceptionDistributedTest use of VM and NetworkUtil
    
    * rename FunctionExecution_ExceptionDUnitTest as FunctionExecutionWithExceptionDistributedTest
---
 ...java => FunctionExecutionWithExceptionDistributedTest.java} | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/execute/FunctionExecution_ExceptionDUnitTest.java
b/geode-core/src/test/java/org/apache/geode/internal/cache/execute/FunctionExecutionWithExceptionDistributedTest.java
similarity index 98%
rename from geode-core/src/test/java/org/apache/geode/internal/cache/execute/FunctionExecution_ExceptionDUnitTest.java
rename to geode-core/src/test/java/org/apache/geode/internal/cache/execute/FunctionExecutionWithExceptionDistributedTest.java
index c45fe39..5429c35 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/execute/FunctionExecution_ExceptionDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/execute/FunctionExecutionWithExceptionDistributedTest.java
@@ -20,7 +20,7 @@ import static org.apache.geode.distributed.ConfigurationProperties.SERIALIZABLE_
 import static org.apache.geode.internal.cache.functions.TestFunction.TEST_FUNCTION_SEND_EXCEPTION;
 import static org.apache.geode.internal.cache.functions.TestFunction.TEST_FUNCTION_THROW_EXCEPTION;
 import static org.apache.geode.test.dunit.Disconnect.disconnectAllFromDS;
-import static org.apache.geode.test.dunit.Host.getHost;
+import static org.apache.geode.test.dunit.VM.getVM;
 import static org.assertj.core.api.Assertions.assertThat;
 import static org.assertj.core.api.Assertions.assertThatThrownBy;
 
@@ -54,7 +54,7 @@ import org.apache.geode.test.junit.rules.serializable.SerializableTestName;
 
 @Category({DistributedTest.class, FunctionServiceTest.class})
 @SuppressWarnings("serial")
-public class FunctionExecution_ExceptionDUnitTest implements Serializable {
+public class FunctionExecutionWithExceptionDistributedTest implements Serializable {
 
   private String regionName;
   private VM datastoreVM0;
@@ -80,9 +80,9 @@ public class FunctionExecution_ExceptionDUnitTest implements Serializable
{
   public void setUp() throws Exception {
     regionName = getClass().getSimpleName() + "_" + testName.getMethodName();
 
-    datastoreVM0 = getHost(0).getVM(0);
-    datastoreVM1 = getHost(0).getVM(1);
-    datastoreVM2 = getHost(0).getVM(2);
+    datastoreVM0 = getVM(0);
+    datastoreVM1 = getVM(1);
+    datastoreVM2 = getVM(2);
 
     stringKey = "execKey";
     stringKeys = new HashSet<>();

-- 
To stop receiving notification emails like this one, please contact
klund@apache.org.

Mime
View raw message