Package org.apache.drill.exec.testing
package org.apache.drill.exec.testing
-
ClassDescriptionThis class is used internally for tracking injected countdown latches.See
CountDownLatchInjection
Degenerates toPauseInjection.pause()
, if initialized to zero count.Injection for a single exception.Tracks the simulated controls that will be injected for testing purposes.The JSON specified for theExecConstants.DRILLBIT_CONTROL_INJECTIONS
option is validated using this class.Injects exceptions and pauses at execution time for testing.The base class for all types of injections (currently, pause and exception).An Exception thrown when injection configuration is incorrect.Key Deserializer for InjectionSite.An injector that does not inject any controls, useful when not testing (i.e.Injection for a single pause.