diff --git a/src/Mongo.SignalR.BackPlane.Tests/Mongo.SignalR.BackPlane.Tests.csproj b/src/Mongo.SignalR.BackPlane.Tests/Mongo.SignalR.BackPlane.Tests.csproj
index 0ceb3b7..b2eca9e 100644
--- a/src/Mongo.SignalR.BackPlane.Tests/Mongo.SignalR.BackPlane.Tests.csproj
+++ b/src/Mongo.SignalR.BackPlane.Tests/Mongo.SignalR.BackPlane.Tests.csproj
@@ -7,18 +7,18 @@
+
-
-
-
-
-
-
+
+
+
+
+
-
+
diff --git a/src/Mongo.SignalR.BackPlane.Tests/MongoHubLifetimeManagerTests.cs b/src/Mongo.SignalR.BackPlane.Tests/MongoHubLifetimeManagerTests.cs
index 5a51327..9499d52 100644
--- a/src/Mongo.SignalR.BackPlane.Tests/MongoHubLifetimeManagerTests.cs
+++ b/src/Mongo.SignalR.BackPlane.Tests/MongoHubLifetimeManagerTests.cs
@@ -1,11 +1,9 @@
-using System.Diagnostics;
+using EphemeralMongo;
using Microsoft.AspNetCore.SignalR;
using Microsoft.AspNetCore.SignalR.Internal;
using Microsoft.AspNetCore.SignalR.Protocol;
using Microsoft.Extensions.Logging.Abstractions;
using Microsoft.Extensions.Options;
-using Mongo2Go;
-using MongoDB.Bson;
using MongoDB.Driver;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Serialization;
@@ -25,12 +23,17 @@ public class TestObject
private IMongoClient _mongoClient;
private const string DatabaseName = "signalr-backplane";
- private MongoDbRunner _runner;
+ private IMongoRunner _runner;
private static readonly List Observers = new List();
[OneTimeSetUp]
public void OneTimeSetUp()
{
- _runner = Mongo2Go.MongoDbRunner.Start(logger: NullLogger.Instance);
+ var options = new MongoRunnerOptions
+ {
+ StandardOuputLogger = Console.WriteLine,
+ StandardErrorLogger = Console.WriteLine,
+ };
+ _runner = EphemeralMongo.MongoRunner.Run(options);
_mongoClient = new MongoClient(_runner.ConnectionString);
}
diff --git a/src/Mongo.SignalR.Backplane/Mongo.SignalR.Backplane.csproj b/src/Mongo.SignalR.Backplane/Mongo.SignalR.Backplane.csproj
index 6fd9d59..2c8ba16 100644
--- a/src/Mongo.SignalR.Backplane/Mongo.SignalR.Backplane.csproj
+++ b/src/Mongo.SignalR.Backplane/Mongo.SignalR.Backplane.csproj
@@ -4,7 +4,7 @@
netstandard2.0
latest
enable
- 1.0.3
+ 1.0.4
Jonas Gottschau
Mongo.SignalR.Backplane
MongoDB SignalR backplane
@@ -17,8 +17,8 @@
-
-
+
+
diff --git a/src/MongoSignalR.Backplane.Sample/MongoSignalR.Backplane.Sample.csproj b/src/MongoSignalR.Backplane.Sample/MongoSignalR.Backplane.Sample.csproj
index b09f27a..612b26f 100644
--- a/src/MongoSignalR.Backplane.Sample/MongoSignalR.Backplane.Sample.csproj
+++ b/src/MongoSignalR.Backplane.Sample/MongoSignalR.Backplane.Sample.csproj
@@ -8,17 +8,17 @@
-
+
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+