Package zipkin2.storage
Class ITSearchEnabledFalse<T extends StorageComponent>
- java.lang.Object
-
- zipkin2.storage.ITStorage<T>
-
- zipkin2.storage.ITSearchEnabledFalse<T>
-
public abstract class ITSearchEnabledFalse<T extends StorageComponent> extends ITStorage<T>
Base test for whensearchEnabled == false
.Subtypes should create a connection to a real backend, even if that backend is in-process.
-
-
Constructor Summary
Constructors Constructor Description ITSearchEnabledFalse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configureStorageForTest(StorageComponent.Builder storage)
Configures aStorageComponent.Builder
with parameters for the test being executed.protected void
getRemoteServiceNames_isEmpty(org.junit.jupiter.api.TestInfo testInfo)
protected void
getServiceNames_isEmpty(org.junit.jupiter.api.TestInfo testInfo)
protected void
getSpanNames_isEmpty(org.junit.jupiter.api.TestInfo testInfo)
protected void
getTraces_indexDataReturnsNothing(org.junit.jupiter.api.TestInfo testInfo)
-
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:ITStorage
Configures aStorageComponent.Builder
with parameters for the test being executed.- Specified by:
configureStorageForTest
in classITStorage<T extends StorageComponent>
-
getTraces_indexDataReturnsNothing
@Test protected void getTraces_indexDataReturnsNothing(org.junit.jupiter.api.TestInfo testInfo) throws Exception
- Throws:
Exception
-
getServiceNames_isEmpty
@Test protected void getServiceNames_isEmpty(org.junit.jupiter.api.TestInfo testInfo) throws Exception
- Throws:
Exception
-
getRemoteServiceNames_isEmpty
@Test protected void getRemoteServiceNames_isEmpty(org.junit.jupiter.api.TestInfo testInfo) throws Exception
- Throws:
Exception
-
-