From b0bbef369821c6ea45974a5a25a13c99a33d52e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjetil=20=C3=98rbekk?= Date: Mon, 9 Apr 2012 14:34:14 +0200 Subject: Ignore slow performance test. --- src/test/java/com/orbekk/protobuf/ProtobufFunctionalTest.java | 9 ++++++--- 1 file 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(); -- cgit v1.2.3