Skip to content

Commit

Permalink
Fix concurrency issue when running tests in parallel (#82)
Browse files Browse the repository at this point in the history
* Remove static modifier
* Rename file to match class name
  • Loading branch information
ronaldkroon authored and dennisdoomen committed Mar 22, 2017
1 parent fd8880b commit 9228ecc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<Link>SharedAssemblyInfo.cs</Link>
</Compile>
<Compile Include="EnumerableExtensions.cs" />
<Compile Include="InMemoryEventStore.cs" />
<Compile Include="MemoryEventSource.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace LiquidProjections
public class MemoryEventSource : IEventStore
{
private readonly int batchSize;
private static long lastCheckpoint;
private long lastCheckpoint;

private readonly List<Subscriber> subscribers = new List<Subscriber>();
private readonly List<Transaction> history = new List<Transaction>();
Expand Down

0 comments on commit 9228ecc

Please sign in to comment.