public TestHystrixCommand(TestCommandBuilder builder, HystrixCommandExecutionHook executionHook) :
     base(builder.owner, builder.dependencyKey, builder.threadPoolKey, builder.circuitBreaker, builder.threadPool,
          builder.commandPropertiesDefaults, builder.threadPoolPropertiesDefaults, builder.metrics,
          builder.fallbackSemaphore, builder.executionSemaphore, new TestOptionsFactory(), executionHook, null, null)
 {
     this.builder = builder;
 }
Esempio n. 2
0
 public TestHystrixCommand(TestCommandBuilder builder)
     : base(
         builder.Owner,
         builder.DependencyKey,
         builder.ThreadPoolKey,
         builder.CircuitBreaker,
         builder.ThreadPool,
         builder.CommandPropertiesDefaults,
         builder.ThreadPoolPropertiesDefaults,
         builder.Metrics,
         builder.FallbackSemaphore,
         builder.ExecutionSemaphore,
         new TestOptionsFactory(),
         builder.ExecutionHook,
         null,
         null)
 {
     this.builder = builder;
 }