Class ITStorage<T extends StorageComponent>

    • Constructor Detail

      • ITStorage

        public ITStorage()
    • Method Detail

      • checkStorage

        protected void checkStorage()
      • initializeStoragePerTest

        protected boolean initializeStoragePerTest()
        Sets the test to initialise the StorageComponent before each test rather than the test class. Generally, tests will run faster if the storage is initialized as infrequently as possibly while clearing data between runs, but for certain backends like Cassandra, it's difficult to reliably clear data between runs and tends to be very slow anyways.
      • traces

        protected Traces traces()
      • blockWhileInFlight

        protected void blockWhileInFlight()
      • clear

        protected abstract void clear()
                               throws Exception
        Clears store between tests.
        Throws:
        Exception
      • returnsRawSpans

        protected boolean returnsRawSpans()
        Override for storage that does upserts and cannot return the original spans.
      • testSuffix

        protected static String testSuffix​(org.junit.jupiter.api.TestInfo testInfo)
        Used to help tests from colliding too much