Class ITServiceAndSpanNames<T extends StorageComponent>

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

public abstract class ITServiceAndSpanNames<T extends StorageComponent> extends ITStorage<T>
Base test for ServiceAndSpanNames.

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

  • Constructor Details

    • ITServiceAndSpanNames

      public ITServiceAndSpanNames()
  • 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>
    • getLocalServiceNames_includesLocalServiceName

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

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

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

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

      @Test protected void getRemoteServiceNames_dedupes(org.junit.jupiter.api.TestInfo testInfo) throws Exception
      Ensures the service name index returns distinct results
      Throws:
      Exception
    • getRemoteServiceNames_noRemoteServiceName

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

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

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

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

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

      @Test protected void getSpanNames_dedupes(org.junit.jupiter.api.TestInfo testInfo) throws Exception
      Ensures the span name index returns distinct results
      Throws:
      Exception
    • getSpanNames_noSpanName

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

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