@Test
  @Disabled("https://github.com/openzipkin/zipkin/issues/2781")
  void postIsTraced_v2() throws Exception {
    postSpan("v2");

    List<List<Span>> traces = awaitSpans(3); // test span + POST + accept-spans

    assertQueryReturnsResults(QueryRequest.newBuilder()
      .annotationQuery(Map.of("http.path", "/api/v2/spans")), traces);

    assertQueryReturnsResults(QueryRequest.newBuilder().spanName("accept-spans"), traces);
  }
This class is flaky for as yet unknown reasons. For example, in CI, sometimes assertions fail
due to incomplete traces. Hence, it includes more assertion customization than normal.
zipkin-server/src/test/java/zipkin2/server/internal/brave/ITZipkinSelfTracing.java