Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/core/Akka.Tests/Actor/ContextWatchWithSpec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ public ContextWatchWithSpec(ITestOutputHelper outputHelper)
}

[Fact(Skip = "This test is used with Performance Profiler to check memory leaks")]
public void Context_WatchWith_Should_not_have_memory_leak()
public async Task Context_WatchWith_Should_not_have_memory_leak()
{
using (var actorSystem = ActorSystem.Create("repro"))
{
actorSystem.ActorOf(Props.Create<LoadHandler>());

Thread.Sleep(60.Seconds());
await Task.Delay(60.Seconds());
}
}

Expand Down
5 changes: 3 additions & 2 deletions src/core/Akka.Tests/Configuration/ConfigurationSpec.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using Akka.Configuration.Hocon;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Akka.Actor;
using Akka.Configuration;
using Akka.Dispatch;
Expand Down Expand Up @@ -86,12 +87,12 @@ public void Deserializes_hocon_configuration_from_net_config_file()

// unit test for bug #4330
[Fact]
public void Should_load_config_from_app_config_file()
public async Task Should_load_config_from_app_config_file()
{
#if !CORECLR
var system = ActorSystem.Create(Guid.NewGuid().ToString());
system.Settings.Config.GetBoolean("nonsense.entry").ShouldBeTrue();
system.Terminate();
await system.Terminate();
#else
// Skip this test for Linux targets
Output.WriteLine("This test is skipped.");
Expand Down