Package zipkin2.storage
Class ITStrictTraceIdFalse<T extends StorageComponent>
java.lang.Object
zipkin2.storage.ITStorage<T>
zipkin2.storage.ITStrictTraceIdFalse<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 -
Method Summary
Modifier and TypeMethodDescriptionaccept128BitTrace(StorageComponent storage, org.junit.jupiter.api.TestInfo testInfo) protected final voidConfigures 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 reportedMethods 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
-
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
@Test protected void getTraces_128BitTraceId(org.junit.jupiter.api.TestInfo testInfo) throws Exception Ensures 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
-
getTraces_retrievesBy64Or128BitTraceId
@Test protected void getTraces_retrievesBy64Or128BitTraceId(org.junit.jupiter.api.TestInfo testInfo) throws Exception current implementation cannot return exact form reported- Throws:
Exception
-