Package zipkin2.storage
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.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ITServiceAndSpanNames()
-
Method Summary
Modifier and Type Method Description protected void
configureStorageForTest(StorageComponent.Builder storage)
Configures aStorageComponent.Builder
with parameters for the test being executed.protected void
getLocalServiceNames_includesLocalServiceName()
protected void
getLocalServiceNames_noServiceName()
protected void
getRemoteServiceNames()
protected void
getRemoteServiceNames_allReturned()
protected void
getRemoteServiceNames_dedupes()
Ensures the service name index returns distinct resultsprotected void
getRemoteServiceNames_noRemoteServiceName()
protected void
getRemoteServiceNames_serviceNameGoesLowercase()
protected void
getSpanNames()
protected void
getSpanNames_allReturned()
protected void
getSpanNames_dedupes()
Ensures the span name index returns distinct resultsprotected void
getSpanNames_doesNotMapNameToRemoteServiceName()
protected void
getSpanNames_noSpanName()
protected void
getSpanNames_serviceNameGoesLowercase()
Methods inherited from class zipkin2.storage.ITStorage
accept, accept, blockWhileInFlight, clear, initializeStoragePerTest, names, newStorageBuilder, store, traces
-
Constructor Details
-
ITServiceAndSpanNames
public ITServiceAndSpanNames()
-
-
Method Details
-
configureStorageForTest
Description copied from class:ITStorage
Configures aStorageComponent.Builder
with parameters for the test being executed.- Specified by:
configureStorageForTest
in classITStorage<T extends StorageComponent>
-
getLocalServiceNames_includesLocalServiceName
- Throws:
Exception
-
getLocalServiceNames_noServiceName
- Throws:
IOException
-
getRemoteServiceNames
- Throws:
Exception
-
getRemoteServiceNames_allReturned
- Throws:
IOException
-
getRemoteServiceNames_dedupes
Ensures the service name index returns distinct results- Throws:
IOException
-
getRemoteServiceNames_noRemoteServiceName
- Throws:
IOException
-
getRemoteServiceNames_serviceNameGoesLowercase
- Throws:
IOException
-
getSpanNames_doesNotMapNameToRemoteServiceName
- Throws:
Exception
-
getSpanNames
- Throws:
Exception
-
getSpanNames_allReturned
- Throws:
IOException
-
getSpanNames_dedupes
Ensures the span name index returns distinct results- Throws:
IOException
-
getSpanNames_noSpanName
- Throws:
IOException
-
getSpanNames_serviceNameGoesLowercase
- Throws:
IOException
-