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 whenstrictTraceId == 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
.
-
-
Constructor Summary
Constructors Constructor Description ITStrictTraceIdFalse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<Span>
accept128BitTrace(StorageComponent storage)
protected void
configureStorageForTest(StorageComponent.Builder storage)
Configures aStorageComponent.Builder
with parameters for the test being executed.protected void
getTraces_128BitTraceId(java.util.List<Span> trace)
-
Methods inherited from class zipkin2.storage.ITStorage
clear, initializeStoragePerTest, names, newStorageBuilder, store
-
-
-
-
Method Detail
-
configureStorageForTest
protected final void configureStorageForTest(StorageComponent.Builder storage)
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
protected void getTraces_128BitTraceId(java.util.List<Span> trace) throws java.io.IOException
- Throws:
java.io.IOException
-
accept128BitTrace
protected java.util.List<Span> accept128BitTrace(StorageComponent storage) throws java.io.IOException
- Throws:
java.io.IOException
-
-