Class PropagationTest


  • public abstract class PropagationTest
    extends Object
    • Constructor Detail

      • PropagationTest

        protected PropagationTest()
    • Method Detail

      • inject

        protected abstract void inject​(Map<String,​String> request,
                                       SamplingFlags samplingFlags)
        There's currently no standard API to just inject sampling flags, as IDs are intended to be propagated.
      • verifyRoundTrip_rootSpan

        public void verifyRoundTrip_rootSpan()
                                      throws Exception
        Throws:
        Exception
      • verifyRoundTrip_128BitTrace

        public void verifyRoundTrip_128BitTrace()
                                         throws Exception
        Throws:
        Exception
      • verifyRoundTrip_childSpan

        public void verifyRoundTrip_childSpan()
                                       throws Exception
        Throws:
        Exception
      • verifyRoundTrip_notSampled

        public void verifyRoundTrip_notSampled()
                                        throws Exception
        Throws:
        Exception
      • verifyRoundTrip_notSampled_noIds

        public void verifyRoundTrip_notSampled_noIds()
                                              throws Exception
        Throws:
        Exception
      • verifyRoundTrip_sampledTrueNoOtherTraceHeaders

        public void verifyRoundTrip_sampledTrueNoOtherTraceHeaders()
      • verifyRoundTrip_debug

        public void verifyRoundTrip_debug()
      • verifyRoundTrip_empty

        public void verifyRoundTrip_empty()
                                   throws Exception
        Throws:
        Exception
      • verifyRoundTrip_externallyProvidedIds

        public void verifyRoundTrip_externallyProvidedIds()
        When the caller propagates IDs, but not a sampling decision, the current process should decide.
      • unloadable_unused

        public void unloadable_unused()
      • unloadable_afterBasicUsage

        public void unloadable_afterBasicUsage()