Package zipkin2.storage
Class ITServiceAndSpanNames
- java.lang.Object
-
- zipkin2.storage.ITServiceAndSpanNames
-
- Direct Known Subclasses:
ITInMemoryStorage.ITServiceAndSpanNames
public abstract class ITServiceAndSpanNames extends java.lang.ObjectBase test forServiceAndSpanNames.Subtypes should create a connection to a real backend, even if that backend is in-process.
-
-
Constructor Summary
Constructors Constructor Description ITServiceAndSpanNames()
-
Method Summary
-
-
-
Method Detail
-
storage
protected abstract StorageComponent storage()
Should maintain state between multiple calls within a test.
-
serviceAndSpanNames
protected ServiceAndSpanNames serviceAndSpanNames()
-
clear
public abstract void clear() throws java.lang.ExceptionClears serviceAndSpanNames between tests.- Throws:
java.lang.Exception
-
getLocalServiceNames_includesLocalServiceName
public void getLocalServiceNames_includesLocalServiceName() throws java.lang.Exception- Throws:
java.lang.Exception
-
getLocalServiceNames_noServiceName
public void getLocalServiceNames_noServiceName() throws java.io.IOException- Throws:
java.io.IOException
-
getRemoteServiceNames
public void getRemoteServiceNames() throws java.lang.Exception- Throws:
java.lang.Exception
-
getRemoteServiceNames_allReturned
public void getRemoteServiceNames_allReturned() throws java.io.IOException- Throws:
java.io.IOException
-
getRemoteServiceNames_dedupes
public void getRemoteServiceNames_dedupes() throws java.io.IOExceptionEnsures the service name index returns distinct results- Throws:
java.io.IOException
-
getRemoteServiceNames_noRemoteServiceName
public void getRemoteServiceNames_noRemoteServiceName() throws java.io.IOException- Throws:
java.io.IOException
-
getRemoteServiceNames_serviceNameGoesLowercase
public void getRemoteServiceNames_serviceNameGoesLowercase() throws java.io.IOException- Throws:
java.io.IOException
-
getSpanNames_doesNotMapNameToRemoteServiceName
public void getSpanNames_doesNotMapNameToRemoteServiceName() throws java.lang.Exception- Throws:
java.lang.Exception
-
getSpanNames
public void getSpanNames() throws java.lang.Exception- Throws:
java.lang.Exception
-
getSpanNames_allReturned
public void getSpanNames_allReturned() throws java.io.IOException- Throws:
java.io.IOException
-
getSpanNames_dedupes
public void getSpanNames_dedupes() throws java.io.IOExceptionEnsures the span name index returns distinct results- Throws:
java.io.IOException
-
getSpanNames_noSpanName
public void getSpanNames_noSpanName() throws java.io.IOException- Throws:
java.io.IOException
-
getSpanNames_serviceNameGoesLowercase
public void getSpanNames_serviceNameGoesLowercase() throws java.io.IOException- Throws:
java.io.IOException
-
accept
protected void accept(java.util.List<Span> spans) throws java.io.IOException
- Throws:
java.io.IOException
-
accept
protected void accept(Span... spans) throws java.io.IOException
- Throws:
java.io.IOException
-
-