Package zipkin2.storage
Class ITServiceAndSpanNames<T extends StorageComponent>
java.lang.Object
zipkin2.storage.ITStorage<T>
zipkin2.storage.ITServiceAndSpanNames<T>
Base test for
ServiceAndSpanNames
.
Subtypes should create a connection to a real backend, even if that backend is in-process.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final void
Configures aStorageComponent.Builder
with parameters for the test being executed.protected void
getLocalServiceNames_includesLocalServiceName
(org.junit.jupiter.api.TestInfo testInfo) protected void
getLocalServiceNames_noServiceName
(org.junit.jupiter.api.TestInfo testInfo) protected void
getRemoteServiceNames
(org.junit.jupiter.api.TestInfo testInfo) protected void
getRemoteServiceNames_allReturned
(org.junit.jupiter.api.TestInfo testInfo) protected void
getRemoteServiceNames_dedupes
(org.junit.jupiter.api.TestInfo testInfo) Ensures the service name index returns distinct resultsprotected void
getRemoteServiceNames_noRemoteServiceName
(org.junit.jupiter.api.TestInfo testInfo) protected void
getRemoteServiceNames_serviceNameGoesLowercase
(org.junit.jupiter.api.TestInfo testInfo) protected void
getSpanNames
(org.junit.jupiter.api.TestInfo testInfo) protected void
getSpanNames_allReturned
(org.junit.jupiter.api.TestInfo testInfo) protected void
getSpanNames_dedupes
(org.junit.jupiter.api.TestInfo testInfo) Ensures the span name index returns distinct resultsprotected void
getSpanNames_doesNotMapNameToRemoteServiceName
(org.junit.jupiter.api.TestInfo testInfo) protected void
getSpanNames_noSpanName
(org.junit.jupiter.api.TestInfo testInfo) protected void
getSpanNames_serviceNameGoesLowercase
(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
-
Constructor Details
-
ITServiceAndSpanNames
public ITServiceAndSpanNames()
-
-
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>
-
getLocalServiceNames_includesLocalServiceName
@Test protected void getLocalServiceNames_includesLocalServiceName(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
Exception
-
getLocalServiceNames_noServiceName
@Test protected void getLocalServiceNames_noServiceName(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
Exception
-
getRemoteServiceNames
@Test protected void getRemoteServiceNames(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
Exception
-
getRemoteServiceNames_allReturned
@Test protected void getRemoteServiceNames_allReturned(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
Exception
-
getRemoteServiceNames_dedupes
@Test protected void getRemoteServiceNames_dedupes(org.junit.jupiter.api.TestInfo testInfo) throws Exception Ensures the service name index returns distinct results- Throws:
Exception
-
getRemoteServiceNames_noRemoteServiceName
@Test protected void getRemoteServiceNames_noRemoteServiceName(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
Exception
-
getRemoteServiceNames_serviceNameGoesLowercase
@Test protected void getRemoteServiceNames_serviceNameGoesLowercase(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
Exception
-
getSpanNames_doesNotMapNameToRemoteServiceName
@Test protected void getSpanNames_doesNotMapNameToRemoteServiceName(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
Exception
-
getSpanNames
- Throws:
Exception
-
getSpanNames_allReturned
@Test protected void getSpanNames_allReturned(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
Exception
-
getSpanNames_dedupes
Ensures the span name index returns distinct results- Throws:
Exception
-
getSpanNames_noSpanName
@Test protected void getSpanNames_noSpanName(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
Exception
-
getSpanNames_serviceNameGoesLowercase
@Test protected void getSpanNames_serviceNameGoesLowercase(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
Exception
-