package io.opentracing.contrib.jaxrs2.itest.cxf;

import io.opentracing.contrib.jaxrs2.itest.common.AbstractClientTest;
import java.util.concurrent.ExecutionException;
import org.eclipse.jetty.servlet.ServletContextHandler;
import org.junit.Test;

/**
 * @author Pavol Loffay
 */
public class ApacheCXFClientITest extends AbstractClientTest {

  @Override
  protected void initServletContext(ServletContextHandler context) {
    ApacheCXFHelper.initServletContext(context);
  }

  /**
   * Does not work because client spans are not connected to parent. Apache CXF does not allow
   * to set custom ExecutorService
   */
  @Test
  @Override
  public void testAsyncMultipleRequests() throws ExecutionException, InterruptedException {
  }
}

@@ -117,56 +117,8 @@
 st;%0A
-import java.util.concurrent.ExecutionException;%0A
 impo
@@ -172,31 +172,8 @@
 ler;
-%0Aimport org.junit.Test;
 %0A%0A/*
@@ -347,16 +347,16 @@
 text) %7B%0A
+
     Apac
@@ -403,266 +403,7 @@
 %0A  %7D
-%0A%0A  /**%0A   * Does not work because client spans are not connected to parent. Apache CXF does not allow%0A   * to set custom ExecutorService%0A   */%0A  @Test%0A  @Override%0A  public void testAsyncMultipleRequests() throws ExecutionException, InterruptedException %7B%0A  %7D
 %0A%7D%0A

Enable CXF async client concurrent test (#64)