We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93a3d7e commit b4b390dCopy full SHA for b4b390d
src/contrib/testkits/Akka.TestKit.Xunit2/Internals/Loggers.cs
@@ -8,6 +8,7 @@
8
using System;
9
using Akka.Actor;
10
using Akka.Event;
11
+using Akka.Util;
12
using Xunit.Abstractions;
13
14
namespace Akka.TestKit.Xunit2.Internals
@@ -58,7 +59,8 @@ private void HandleLogEvent(LogEvent e)
58
59
}
60
catch (InvalidOperationException ie)
61
{
- Console.WriteLine($"Received InvalidOperationException: {ie} - probably because the test had completed executing.");
62
+ StandardOutWriter.WriteLine($"Received InvalidOperationException: {ie} - probably because the test had completed executing.");
63
+ Context.Stop(Self); // shut ourselves down, can't do our job any longer
64
65
66
0 commit comments