]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/jaegertracing/thrift/lib/java/test/org/apache/thrift/async/TestTAsyncClient.java
import quincy beta 17.1.0
[ceph.git] / ceph / src / jaegertracing / thrift / lib / java / test / org / apache / thrift / async / TestTAsyncClient.java
diff --git a/ceph/src/jaegertracing/thrift/lib/java/test/org/apache/thrift/async/TestTAsyncClient.java b/ceph/src/jaegertracing/thrift/lib/java/test/org/apache/thrift/async/TestTAsyncClient.java
deleted file mode 100644 (file)
index 392ca22..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-package org.apache.thrift.async;
-
-import junit.framework.TestCase;
-
-import org.apache.thrift.TException;
-
-import thrift.test.Srv;
-import thrift.test.Srv.AsyncClient;
-
-public class TestTAsyncClient extends TestCase {
-  public void testRaisesExceptionWhenUsedConcurrently() throws Exception {
-    TAsyncClientManager mockClientManager = new TAsyncClientManager() {
-      @Override
-      public void call(TAsyncMethodCall method) throws TException {
-        // do nothing
-      }
-    };
-
-    Srv.AsyncClient c = new AsyncClient(null, mockClientManager, null);
-    c.Janky(0, null);
-    try {
-      c.checkReady();
-      fail("should have hit an exception");
-    } catch (Exception e) {
-      // awesome
-    }
-  }
-}