Package zipkin2.storage
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.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ITStrictTraceIdFalse() -
Method Summary
Modifier and Type Method Description protected List<Span>accept128BitTrace(StorageComponent storage)protected voidconfigureStorageForTest(StorageComponent.Builder storage)Configures aStorageComponent.Builderwith parameters for the test being executed.protected voidgetTrace_retrievesBy64Or128BitTraceId()protected voidgetTrace_retrievesBy64Or128BitTraceId_mixed()protected voidgetTraces_128BitTraceId()Ensures we can still lookup fully 128-bit traces when strict trace ID id disabledprotected voidgetTraces_128BitTraceId(List<Span> trace)protected voidgetTraces_128BitTraceId_mixed()protected voidgetTraces_retrievesBy64Or128BitTraceId()current implementation cannot return exact form reportedMethods inherited from class zipkin2.storage.ITStorage
accept, accept, blockWhileInFlight, clear, initializeStoragePerTest, names, newStorageBuilder, store, traces
-
Constructor Details
-
ITStrictTraceIdFalse
public ITStrictTraceIdFalse()
-
-
Method Details
-
configureStorageForTest
Description copied from class:ITStorageConfigures aStorageComponent.Builderwith parameters for the test being executed.- Specified by:
configureStorageForTestin classITStorage<T extends StorageComponent>
-
getTraces_128BitTraceId
Ensures we can still lookup fully 128-bit traces when strict trace ID id disabled- Throws:
IOException
-
getTraces_128BitTraceId_mixed
- Throws:
IOException
-
getTraces_128BitTraceId
- Throws:
IOException
-
getTrace_retrievesBy64Or128BitTraceId
- Throws:
IOException
-
getTrace_retrievesBy64Or128BitTraceId_mixed
- Throws:
IOException
-
accept128BitTrace
- Throws:
IOException
-
getTraces_retrievesBy64Or128BitTraceId
current implementation cannot return exact form reported- Throws:
Exception
-