Skip to content

Commit

Permalink
Fix for parallel execution
Browse files Browse the repository at this point in the history
  • Loading branch information
matwitkos authored and cezarypiatek committed Jan 11, 2023
1 parent 355dedd commit 47ae2db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/NScenario/OutputWriters/MarkdownFormatterOutputWriter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.IO;
using System.Text;
using MarkdownSharp;
Expand All @@ -10,7 +11,7 @@ namespace NScenario.OutputWriters
public class MarkdownFormatterOutputWriter: IScenarioOutputWriter
{
private readonly Func<string> _currentTestIdentifierAccessor;
private readonly Dictionary<string, StringBuilder> _outputBuilders = new Dictionary<string, StringBuilder>();
private readonly ConcurrentDictionary<string, StringBuilder> _outputBuilders = new ConcurrentDictionary<string, StringBuilder>();

private StringBuilder OutputBuilder
{
Expand Down

0 comments on commit 47ae2db

Please sign in to comment.