Class ITStrictTraceIdFalse

  • Direct Known Subclasses:
    ITInMemoryStorage.ITStrictTraceIdFalse

    public abstract class ITStrictTraceIdFalse
    extends java.lang.Object
    Base test for when strictTraceId == 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 Detail

      • ITStrictTraceIdFalse

        public ITStrictTraceIdFalse()
    • Method Detail

      • storage

        protected abstract StorageComponent storage()
        Should maintain state between multiple calls within a test.
      • clear

        public abstract void clear()
                            throws java.lang.Exception
        Clears store between tests.
        Throws:
        java.lang.Exception
      • getTraces_128BitTraceId

        public void getTraces_128BitTraceId()
                                     throws java.io.IOException
        Ensures 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