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 List<Span>accept128BitTrace(StorageComponent storage, org.junit.jupiter.api.TestInfo testInfo)protected voidconfigureStorageForTest(StorageComponent.Builder storage)Configures aStorageComponent.Builderwith parameters for the test being executed.protected voidgetTrace_retrievesBy64Or128BitTraceId(org.junit.jupiter.api.TestInfo testInfo)protected voidgetTrace_retrievesBy64Or128BitTraceId_mixed(org.junit.jupiter.api.TestInfo testInfo)protected voidgetTraces_128BitTraceId(List<Span> trace, org.junit.jupiter.api.TestInfo testInfo)protected voidgetTraces_128BitTraceId(org.junit.jupiter.api.TestInfo testInfo)Ensures we can still lookup fully 128-bit traces when strict trace ID id disabledprotected voidgetTraces_128BitTraceId_mixed(org.junit.jupiter.api.TestInfo testInfo)protected voidgetTraces_retrievesBy64Or128BitTraceId(org.junit.jupiter.api.TestInfo testInfo)current implementation cannot return exact form reported-
Methods inherited from class zipkin2.storage.ITStorage
accept, accept, assertGetTraceReturns, assertGetTraceReturns, assertGetTraceReturnsEmpty, assertGetTracesReturns, assertGetTracesReturns, assertGetTracesReturnsCount, assertGetTracesReturnsEmpty, assertGetTracesReturnsEmpty, blockWhileInFlight, checkStorage, clear, initializeStoragePerTest, names, newStorageBuilder, requestBuilder, returnsRawSpans, sortTrace, store, testSuffix, traces
-
-
-
-
Method Detail
-
configureStorageForTest
protected final void configureStorageForTest(StorageComponent.Builder storage)
Description copied from class:ITStorageConfigures aStorageComponent.Builderwith parameters for the test being executed.- Specified by:
configureStorageForTestin classITStorage<T extends StorageComponent>
-
getTraces_128BitTraceId
@Test protected void getTraces_128BitTraceId(org.junit.jupiter.api.TestInfo testInfo) throws ExceptionEnsures we can still lookup fully 128-bit traces when strict trace ID id disabled- Throws:
Exception
-
getTraces_128BitTraceId_mixed
@Test protected void getTraces_128BitTraceId_mixed(org.junit.jupiter.api.TestInfo testInfo) throws Exception- Throws:
Exception
-
getTraces_128BitTraceId
protected void getTraces_128BitTraceId(List<Span> trace, org.junit.jupiter.api.TestInfo testInfo) throws Exception
- Throws:
Exception
-
getTrace_retrievesBy64Or128BitTraceId
@Test protected void getTrace_retrievesBy64Or128BitTraceId(org.junit.jupiter.api.TestInfo testInfo) throws Exception- Throws:
Exception
-
getTrace_retrievesBy64Or128BitTraceId_mixed
@Test protected void getTrace_retrievesBy64Or128BitTraceId_mixed(org.junit.jupiter.api.TestInfo testInfo) throws Exception- Throws:
Exception
-
accept128BitTrace
protected List<Span> accept128BitTrace(StorageComponent storage, org.junit.jupiter.api.TestInfo testInfo) throws Exception
- Throws:
Exception
-
-