public async Task WhenPipelineRun() { _helper = new GrandparentHelper() .WithEmptyTable("procfwk.CurrentExecution") .WithSimpleFailureHandling() .WithOneWorkerPipelineEnabled(); await _helper.RunPipeline(); }
public async Task WhenPipelineRun() { _helper = new GrandparentHelper() .WithBasicMetadata() .WithTenantAndSubscriptionIds() .With300WorkerPipelinesEnabled() .WithSPNInKeyVault("WorkersFactory"); await _helper.RunPipeline(); }
public async Task WhenPipelineRun() { _helper = new GrandparentHelper() .WithBasicMetadata() .WithTenantAndSubscriptionIds() .WithSPNInDatabase("FrameworkFactory") .WithEmptyExecutionTables() .WithSimpleFailureHandling() .WithOneWorkerPipelineEnabled(); await _helper.RunPipeline(); }
public async Task WhenPipelineRun() { _helperFirstBatch = new GrandparentHelper() .WithBasicMetadata() .WithTenantAndSubscriptionIds() .With300WorkerPipelinesEnabled() .WithBatchExecutionHandling() .With300WorkerPipelineBatches() .WithSPNInKeyVault("WorkersFactory") .WithParameter("BatchName", "0to300"); _helperSecondBatch = new GrandparentHelper() .WithParameter("BatchName", "301to600"); var firstBatch = _helperFirstBatch.RunPipeline(); var secondBatch = _helperSecondBatch.RunPipeline(); await Task.WhenAll(firstBatch, secondBatch); }