From 9228ecccafef3d643ff9c26afa04233d54f26ef6 Mon Sep 17 00:00:00 2001 From: Ronald Kroon Date: Wed, 22 Mar 2017 15:32:06 +0100 Subject: [PATCH] Fix concurrency issue when running tests in parallel (#82) * Remove static modifier * Rename file to match class name --- Src/LiquidProjections.Testing/LiquidProjections.Testing.csproj | 2 +- .../{InMemoryEventStore.cs => MemoryEventSource.cs} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename Src/LiquidProjections.Testing/{InMemoryEventStore.cs => MemoryEventSource.cs} (95%) diff --git a/Src/LiquidProjections.Testing/LiquidProjections.Testing.csproj b/Src/LiquidProjections.Testing/LiquidProjections.Testing.csproj index 2bc715a..b67fcd0 100644 --- a/Src/LiquidProjections.Testing/LiquidProjections.Testing.csproj +++ b/Src/LiquidProjections.Testing/LiquidProjections.Testing.csproj @@ -46,7 +46,7 @@ SharedAssemblyInfo.cs - + diff --git a/Src/LiquidProjections.Testing/InMemoryEventStore.cs b/Src/LiquidProjections.Testing/MemoryEventSource.cs similarity index 95% rename from Src/LiquidProjections.Testing/InMemoryEventStore.cs rename to Src/LiquidProjections.Testing/MemoryEventSource.cs index 4dbe9d8..560597c 100644 --- a/Src/LiquidProjections.Testing/InMemoryEventStore.cs +++ b/Src/LiquidProjections.Testing/MemoryEventSource.cs @@ -10,7 +10,7 @@ namespace LiquidProjections public class MemoryEventSource : IEventStore { private readonly int batchSize; - private static long lastCheckpoint; + private long lastCheckpoint; private readonly List subscribers = new List(); private readonly List history = new List();