Package brave.test.propagation
Class PropagationTest
java.lang.Object
brave.test.propagation.PropagationTest
public abstract class PropagationTest extends Object
- 
Nested Class SummaryNested Classes Modifier and Type Class Description protected static classPropagationTest.MapEntry
- 
Field SummaryFields Modifier and Type Field Description protected Map<String,String>mapprotected Propagation<String>propagation
- 
Constructor SummaryConstructors Modifier Constructor Description protectedPropagationTest()
- 
Method SummaryModifier and Type Method Description protected abstract voidinject(Map<String,String> request, SamplingFlags samplingFlags)There's currently no standard API to just inject sampling flags, as IDs are intended to be propagated.protected abstract voidinject(Map<String,String> map, String traceId, String parentId, String spanId, Boolean sampled, Boolean debug)protected abstract Class<? extends Supplier<Propagation<String>>>propagationSupplier()voidunloadable_afterBasicUsage()voidunloadable_unused()voidverifyRoundTrip_128BitTrace()voidverifyRoundTrip_childSpan()voidverifyRoundTrip_debug()voidverifyRoundTrip_empty()voidverifyRoundTrip_externallyProvidedIds()When the caller propagates IDs, but not a sampling decision, the current process should decide.voidverifyRoundTrip_notSampled()voidverifyRoundTrip_notSampled_noIds()voidverifyRoundTrip_rootSpan()voidverifyRoundTrip_sampledTrueNoOtherTraceHeaders()
- 
Field Details
- 
Constructor Details- 
PropagationTestprotected PropagationTest()
 
- 
- 
Method Details- 
propagationSupplier
- 
inject
- 
injectThere's currently no standard API to just inject sampling flags, as IDs are intended to be propagated.
- 
verifyRoundTrip_rootSpan- Throws:
- Exception
 
- 
verifyRoundTrip_128BitTrace- Throws:
- Exception
 
- 
verifyRoundTrip_childSpan- Throws:
- Exception
 
- 
verifyRoundTrip_notSampled- Throws:
- Exception
 
- 
verifyRoundTrip_notSampled_noIds- Throws:
- Exception
 
- 
verifyRoundTrip_sampledTrueNoOtherTraceHeaderspublic void verifyRoundTrip_sampledTrueNoOtherTraceHeaders()
- 
verifyRoundTrip_debugpublic void verifyRoundTrip_debug()
- 
verifyRoundTrip_empty- Throws:
- Exception
 
- 
verifyRoundTrip_externallyProvidedIdspublic void verifyRoundTrip_externallyProvidedIds()When the caller propagates IDs, but not a sampling decision, the current process should decide.
- 
unloadable_unusedpublic void unloadable_unused()
- 
unloadable_afterBasicUsagepublic void unloadable_afterBasicUsage()
 
-