Skip to content

Commit

Permalink
Merge parameters safely (#778)
Browse files Browse the repository at this point in the history
Merge session level parameters safely with source level parameters.
  • Loading branch information
nohwnd authored Feb 22, 2021
1 parent 956f367 commit b1635cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ private void ExecuteTestsInSource(IEnumerable<TestCase> tests, IRunContext runCo

if (this.sessionParameters != null && this.sessionParameters.Count > 0)
{
sourceLevelParameters = sourceLevelParameters.Concat(this.sessionParameters).ToDictionary(x => x.Key, x => x.Value);
sourceLevelParameters = this.sessionParameters.ConcatWithOverwrites(sourceLevelParameters);
}

TestAssemblySettingsProvider sourceSettingsProvider = null;
Expand Down

0 comments on commit b1635cc

Please sign in to comment.