diff --git a/CallbackHandler.IntegrationTests/Common/DockerHelper.cs b/CallbackHandler.IntegrationTests/Common/DockerHelper.cs index 39dfd8c..f855766 100644 --- a/CallbackHandler.IntegrationTests/Common/DockerHelper.cs +++ b/CallbackHandler.IntegrationTests/Common/DockerHelper.cs @@ -22,7 +22,7 @@ public DockerHelper() { public IAgencyBankingClient AgencyBankingClient; public HttpClient TestHostHttpClient; - public override async Task CreateSubscriptions() + public override async Task CreateSubscriptions(CancellationToken cancellationToken) { List<(String streamName, String groupName, Int32 maxRetries)> subscriptions = new(); subscriptions.AddRange(TransactionProcessor.IntegrationTesting.Helpers.SubscriptionsHelper.GetSubscriptions()); @@ -53,8 +53,8 @@ public Int32 GetCallbackHandlerPort() } public override async Task StartContainersForScenarioRun(String scenarioName, - DockerServices dockerServices) { - await base.StartContainersForScenarioRun(scenarioName, dockerServices); + DockerServices dockerServices, CancellationToken cancellationToken) { + await base.StartContainersForScenarioRun(scenarioName, dockerServices, cancellationToken); // Setup the base address resolvers String SecurityServiceBaseAddressResolver(String api) => $"https://127.0.0.1:{this.SecurityServicePort}"; diff --git a/CallbackHandler.IntegrationTests/Common/GenericSteps.cs b/CallbackHandler.IntegrationTests/Common/GenericSteps.cs index 3ad6ba6..571962b 100644 --- a/CallbackHandler.IntegrationTests/Common/GenericSteps.cs +++ b/CallbackHandler.IntegrationTests/Common/GenericSteps.cs @@ -49,7 +49,7 @@ public async Task StartSystem() this.TestingContext.Logger = logger; this.TestingContext.Logger.LogInformation($"About to Start Containers for Scenario Run [{this.ScenarioContext.ScenarioInfo.Title}]"); - await this.TestingContext.DockerHelper.StartContainersForScenarioRun(scenarioName, dockerServices).ConfigureAwait(false); + await this.TestingContext.DockerHelper.StartContainersForScenarioRun(scenarioName, dockerServices, CancellationToken.None).ConfigureAwait(false); this.TestingContext.Logger.LogInformation("Containers for Scenario Run Started"); } diff --git a/Directory.Packages.props b/Directory.Packages.props index 7e3746f..96b43a8 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -20,20 +20,20 @@ - - - - - - + + + + + + - - + + - +