diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-04-09 14:34:14 +0200 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-04-09 14:34:14 +0200 |
commit | b0bbef369821c6ea45974a5a25a13c99a33d52e0 (patch) | |
tree | 57bf4de448d4f680e1b23da697099bcf35e85911 | |
parent | 3ca977bc498b425aaf55bb0d9d1fa7ee8541c880 (diff) |
Ignore slow performance test.
-rw-r--r-- | src/test/java/com/orbekk/protobuf/ProtobufFunctionalTest.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/test/java/com/orbekk/protobuf/ProtobufFunctionalTest.java b/src/test/java/com/orbekk/protobuf/ProtobufFunctionalTest.java index aa2eea0..0b38df6 100644 --- a/src/test/java/com/orbekk/protobuf/ProtobufFunctionalTest.java +++ b/src/test/java/com/orbekk/protobuf/ProtobufFunctionalTest.java @@ -15,11 +15,13 @@ */ package com.orbekk.protobuf; +import static org.hamcrest.Matchers.is; +import static org.junit.Assert.assertThat; + import java.util.concurrent.CountDownLatch; import org.junit.Before; -import static org.hamcrest.Matchers.*; -import static org.junit.Assert.*; +import org.junit.Ignore; import com.google.protobuf.RpcCallback; import com.google.protobuf.RpcController; @@ -71,11 +73,12 @@ public class ProtobufFunctionalTest { } } + @Ignore @org.junit.Test public void testNewRpcChannel() throws Exception { NewRpcChannel channel = NewRpcChannel.create("localhost", serverport); Test.Service service = Test.Service.newStub(channel); Test.Type1 request = Test.Type1.newBuilder().build(); - int count = 1000000; + int count = 5000000; final Rpc rpc = new Rpc(); final CountDownLatch stop = new CountDownLatch(count); long startTime = System.currentTimeMillis(); |