You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by kl...@apache.org on 2017/10/06 17:00:43 UTC
[geode] branch develop updated: GEODE-3777: delete useless broken
test
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
The following commit(s) were added to refs/heads/develop by this push:
new 6f3e09d GEODE-3777: delete useless broken test
6f3e09d is described below
commit 6f3e09d8f3024f17cbb44d1efd8092597b6d8c39
Author: Kirk Lund <kl...@apache.org>
AuthorDate: Fri Oct 6 10:00:14 2017 -0700
GEODE-3777: delete useless broken test
---
.../dunit/examples/InvokeCallableExampleTest.java | 53 ----------------------
1 file changed, 53 deletions(-)
diff --git a/geode-core/src/test/java/org/apache/geode/test/dunit/examples/InvokeCallableExampleTest.java b/geode-core/src/test/java/org/apache/geode/test/dunit/examples/InvokeCallableExampleTest.java
deleted file mode 100644
index 4be9b48..0000000
--- a/geode-core/src/test/java/org/apache/geode/test/dunit/examples/InvokeCallableExampleTest.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more contributor license
- * agreements. See the NOTICE file distributed with this work for additional information regarding
- * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance with the License. You may obtain a
- * copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- */
-package org.apache.geode.test.dunit.examples;
-
-import static org.assertj.core.api.Assertions.assertThat;
-
-import org.junit.ClassRule;
-import org.junit.Test;
-import org.junit.experimental.categories.Category;
-
-import org.apache.geode.internal.process.ProcessUtils;
-import org.apache.geode.test.dunit.Host;
-import org.apache.geode.test.dunit.VM;
-import org.apache.geode.test.dunit.rules.DistributedTestRule;
-import org.apache.geode.test.junit.categories.DistributedTest;
-
-@Category(DistributedTest.class)
-public class InvokeCallableExampleTest {
-
- @ClassRule
- public static DistributedTestRule distributedTestRule = new DistributedTestRule();
-
- private static final String[] names = {"Batman", "Superman", "Wonder Woman", "Aquaman"};
-
- @Test
- public void invokeIdentityInEachVM() throws Exception {
- for (int i = 0; i < Host.getHost(0).getVMCount(); i++) {
- final int whichVM = i;
- VM vm = Host.getHost(0).getVM(whichVM);
- String name = vm.invoke(() -> names[whichVM]);
- assertThat(name).isEqualTo(names[i]);
- }
- }
-
- @Test
- public void getPidOfEachVM() throws Exception {
- for (VM vm : Host.getHost(0).getAllVMs()) {
- System.out.println("vm.getPid() is " + vm.getPid());
- }
- }
-}
--
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <co...@geode.apache.org>'].