Package zipkin2.storage
Class ITSpanStore<T extends StorageComponent>
java.lang.Object
zipkin2.storage.ITStorage<T>
zipkin2.storage.ITSpanStore<T>
public abstract class ITSpanStore<T extends StorageComponent> extends ITStorage<T>
Base test for
SpanStore.
Subtypes should create a connection to a real backend, even if that backend is in-process.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ITSpanStore() -
Method Summary
Modifier and Type Method Description protected voidconfigureStorageForTest(StorageComponent.Builder storage)Configures aStorageComponent.Builderwith parameters for the test being executed.voidgetTraces_duration()Shows that duration queries go against the root span, not the childvoidgetTraces_lateDuration()voidgetTraces_maxDuration()voidgetTraces_minDuration()voidgetTraces_serviceNames()voidgetTraces_spanName()voidgetTraces_tags()protected static QueryRequest.BuilderrequestBuilder()Methods inherited from class zipkin2.storage.ITStorage
accept, accept, blockWhileInFlight, clear, initializeStoragePerTest, names, newStorageBuilder, store, traces
-
Constructor Details
-
ITSpanStore
public ITSpanStore()
-
-
Method Details
-
configureStorageForTest
Description copied from class:ITStorageConfigures aStorageComponent.Builderwith parameters for the test being executed.- Specified by:
configureStorageForTestin classITStorage<T extends StorageComponent>
-
getTraces_serviceNames
- Throws:
Exception
-
getTraces_spanName
- Throws:
Exception
-
getTraces_tags
- Throws:
Exception
-
getTraces_minDuration
- Throws:
Exception
-
getTraces_lateDuration
- Throws:
Exception
-
getTraces_maxDuration
- Throws:
Exception
-
getTraces_duration
Shows that duration queries go against the root span, not the child- Throws:
IOException
-
requestBuilder
-