You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by sz...@apache.org on 2018/04/26 19:14:35 UTC
incubator-ratis git commit: RATIS-226. Skip the hadoop-rpc unit tests
and TestRaftStream. Contributed by Kit Hui
Repository: incubator-ratis
Updated Branches:
refs/heads/master 5e3269bb2 -> ba83ce132
RATIS-226. Skip the hadoop-rpc unit tests and TestRaftStream. Contributed by Kit Hui
Project: http://git-wip-us.apache.org/repos/asf/incubator-ratis/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ratis/commit/ba83ce13
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ratis/tree/ba83ce13
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ratis/diff/ba83ce13
Branch: refs/heads/master
Commit: ba83ce132769591f302e5f780117cc03130b4870
Parents: 5e3269b
Author: Tsz Sze <sz...@HW14119.local>
Authored: Thu Apr 26 12:14:00 2018 -0700
Committer: Tsz Sze <sz...@HW14119.local>
Committed: Thu Apr 26 12:14:00 2018 -0700
----------------------------------------------------------------------
.../apache/ratis/examples/ParameterizedBaseTest.java | 2 +-
.../test/java/org/apache/ratis/grpc/TestRaftStream.java | 2 ++
ratis-hadoop/pom.xml | 12 ++++++++++++
3 files changed, 15 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/ba83ce13/ratis-examples/src/test/java/org/apache/ratis/examples/ParameterizedBaseTest.java
----------------------------------------------------------------------
diff --git a/ratis-examples/src/test/java/org/apache/ratis/examples/ParameterizedBaseTest.java b/ratis-examples/src/test/java/org/apache/ratis/examples/ParameterizedBaseTest.java
index 7cf74ea..3ee5e05 100644
--- a/ratis-examples/src/test/java/org/apache/ratis/examples/ParameterizedBaseTest.java
+++ b/ratis-examples/src/test/java/org/apache/ratis/examples/ParameterizedBaseTest.java
@@ -108,7 +108,7 @@ public abstract class ParameterizedBaseTest extends BaseTest {
add(clusters, MiniRaftClusterWithNetty.FACTORY, ids.next(), prop);
}
if (isAll || classes.contains(MiniRaftClusterWithHadoopRpc.class)) {
- add(clusters, MiniRaftClusterWithHadoopRpc.FACTORY, ids.next(), prop);
+// add(clusters, MiniRaftClusterWithHadoopRpc.FACTORY, ids.next(), prop);
}
for(int i = 0; i < clusters.size(); i++) {
LOG.info(i + ": " + clusters.get(i)[0].getClass().getSimpleName());
http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/ba83ce13/ratis-grpc/src/test/java/org/apache/ratis/grpc/TestRaftStream.java
----------------------------------------------------------------------
diff --git a/ratis-grpc/src/test/java/org/apache/ratis/grpc/TestRaftStream.java b/ratis-grpc/src/test/java/org/apache/ratis/grpc/TestRaftStream.java
index de3177c..17956c7 100644
--- a/ratis-grpc/src/test/java/org/apache/ratis/grpc/TestRaftStream.java
+++ b/ratis-grpc/src/test/java/org/apache/ratis/grpc/TestRaftStream.java
@@ -33,6 +33,7 @@ import org.apache.ratis.util.SizeInBytes;
import org.apache.ratis.util.StringUtils;
import org.junit.After;
import org.junit.Assert;
+import org.junit.Ignore;
import org.junit.Test;
import java.io.IOException;
@@ -47,6 +48,7 @@ import java.util.function.Supplier;
import static org.apache.ratis.RaftTestUtil.waitForLeader;
import static org.junit.Assert.fail;
+@Ignore
public class TestRaftStream extends BaseTest {
static {
LogUtils.setLogLevel(AppendStreamer.LOG, Level.ALL);
http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/ba83ce13/ratis-hadoop/pom.xml
----------------------------------------------------------------------
diff --git a/ratis-hadoop/pom.xml b/ratis-hadoop/pom.xml
index 19a747f..3249e48 100644
--- a/ratis-hadoop/pom.xml
+++ b/ratis-hadoop/pom.xml
@@ -98,4 +98,16 @@
<version>11.0.2</version>
</dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skipTests>true</skipTests>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>