Class ITStrictTraceIdFalse<T extends StorageComponent>

java.lang.Object
zipkin2.storage.ITStorage<T>
zipkin2.storage.ITStrictTraceIdFalse<T>

public abstract class ITStrictTraceIdFalse<T extends StorageComponent> extends ITStorage<T>
Base test for when strictTraceId == false.

Subtypes should create a connection to a real backend, even if that backend is in-process.

This is a replacement for zipkin.storage.StrictTraceIdFalseTest.

  • Constructor Details

    • ITStrictTraceIdFalse

      public ITStrictTraceIdFalse()
  • Method Details

    • configureStorageForTest

      protected final void configureStorageForTest(StorageComponent.Builder storage)
      Description copied from class: ITStorage
      Configures a StorageComponent.Builder with parameters for the test being executed.
      Specified by:
      configureStorageForTest in class ITStorage<T extends StorageComponent>
    • getTraces_128BitTraceId

      @Test protected void getTraces_128BitTraceId(org.junit.jupiter.api.TestInfo testInfo) throws Exception
      Ensures we can still lookup fully 128-bit traces when strict trace ID id disabled
      Throws:
      Exception
    • getTraces_128BitTraceId_mixed

      @Test protected void getTraces_128BitTraceId_mixed(org.junit.jupiter.api.TestInfo testInfo) throws Exception
      Throws:
      Exception
    • getTraces_128BitTraceId

      protected void getTraces_128BitTraceId(List<Span> trace, org.junit.jupiter.api.TestInfo testInfo) throws Exception
      Throws:
      Exception
    • getTrace_retrievesBy64Or128BitTraceId

      @Test protected void getTrace_retrievesBy64Or128BitTraceId(org.junit.jupiter.api.TestInfo testInfo) throws Exception
      Throws:
      Exception
    • getTrace_retrievesBy64Or128BitTraceId_mixed

      @Test protected void getTrace_retrievesBy64Or128BitTraceId_mixed(org.junit.jupiter.api.TestInfo testInfo) throws Exception
      Throws:
      Exception
    • accept128BitTrace

      protected List<Span> accept128BitTrace(StorageComponent storage, org.junit.jupiter.api.TestInfo testInfo) throws Exception
      Throws:
      Exception
    • getTraces_retrievesBy64Or128BitTraceId

      @Test protected void getTraces_retrievesBy64Or128BitTraceId(org.junit.jupiter.api.TestInfo testInfo) throws Exception
      current implementation cannot return exact form reported
      Throws:
      Exception