Package zipkin2.storage
Class ITStrictTraceIdFalse
- java.lang.Object
-
- zipkin2.storage.ITStrictTraceIdFalse
-
- Direct Known Subclasses:
ITInMemoryStorage.ITStrictTraceIdFalse
public abstract class ITStrictTraceIdFalse extends java.lang.ObjectBase 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 Abstract Methods Concrete Methods Modifier and Type Method Description protected java.util.List<Span>accept128BitTrace(StorageComponent storage)abstract voidclear()Clears store between tests.voidgetTrace_retrievesBy64Or128BitTraceId()voidgetTrace_retrievesBy64Or128BitTraceId_mixed()voidgetTraces_128BitTraceId()Ensures we can still lookup fully 128-bit traces when strict trace ID id disabledprotected voidgetTraces_128BitTraceId(java.util.List<Span> trace)voidgetTraces_128BitTraceId_mixed()protected abstract StorageComponentstorage()Should maintain state between multiple calls within a test.protected SpanStorestore()
-
-
-
Method Detail
-
storage
protected abstract StorageComponent storage()
Should maintain state between multiple calls within a test.
-
store
protected SpanStore store()
-
clear
public abstract void clear() throws java.lang.ExceptionClears store between tests.- Throws:
java.lang.Exception
-
getTraces_128BitTraceId
public void getTraces_128BitTraceId() throws java.io.IOExceptionEnsures we can still lookup fully 128-bit traces when strict trace ID id disabled- Throws:
java.io.IOException
-
getTraces_128BitTraceId_mixed
public void getTraces_128BitTraceId_mixed() throws java.io.IOException- Throws:
java.io.IOException
-
getTraces_128BitTraceId
protected void getTraces_128BitTraceId(java.util.List<Span> trace) throws java.io.IOException
- Throws:
java.io.IOException
-
getTrace_retrievesBy64Or128BitTraceId
public void getTrace_retrievesBy64Or128BitTraceId() throws java.io.IOException- Throws:
java.io.IOException
-
getTrace_retrievesBy64Or128BitTraceId_mixed
public void getTrace_retrievesBy64Or128BitTraceId_mixed() throws java.io.IOException- Throws:
java.io.IOException
-
accept128BitTrace
protected java.util.List<Span> accept128BitTrace(StorageComponent storage) throws java.io.IOException
- Throws:
java.io.IOException
-
-