Skip to content

Commit e3cf3e6

Browse files
fix failing tests
1 parent b399030 commit e3cf3e6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

MessagingService.IntegrationTests/Common/DockerHelper.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,15 @@ public override async Task CreateSubscriptions(){
7070
/// </summary>
7171
/// <param name="scenarioName">Name of the scenario.</param>
7272
public override async Task StartContainersForScenarioRun(String scenarioName, DockerServices dockerServices){
73+
74+
List<String> additionalVariables = new List<String>
75+
{
76+
this.SetConnectionString("ConnectionStrings:PersistedGrantDbContext", $"PersistedGrantStore-{this.TestId}", this.UseSecureSqlServerDatabase),
77+
this.SetConnectionString("ConnectionStrings:ConfigurationDbContext", $"Configuration-{this.TestId}", this.UseSecureSqlServerDatabase),
78+
this.SetConnectionString("ConnectionStrings:AuthenticationDbContext", $"Authentication-{this.TestId}", this.UseSecureSqlServerDatabase)
79+
};
80+
this.AdditionalVariables.Add(ContainerType.SecurityService, additionalVariables);
81+
7382
await base.StartContainersForScenarioRun(scenarioName, dockerServices);
7483

7584
// Setup the base address resolvers

0 commit comments

Comments
 (0)