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 void
configureStorageForTest(StorageComponent.Builder storage)
Configures aStorageComponent.Builder
with parameters for the test being executed.protected void
getTrace_retrievesBy64Or128BitTraceId()
protected void
getTrace_retrievesBy64Or128BitTraceId_mixed()
protected void
getTraces_128BitTraceId()
Ensures we can still lookup fully 128-bit traces when strict trace ID id disabledprotected void
getTraces_128BitTraceId(List<Span> trace)
protected void
getTraces_128BitTraceId_mixed()
protected void
getTraces_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:ITStorage
Configures aStorageComponent.Builder
with parameters for the test being executed.- Specified by:
configureStorageForTest
in 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
-