Oh great... upstream bugs...

This commit is contained in:
Cyberboss
2018-07-25 15:56:26 -04:00
parent 4f1874fe1e
commit 944970d796
4 changed files with 4 additions and 5 deletions
@@ -1,5 +1,4 @@
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Console;
using System.Collections.Generic;
using System.Threading.Tasks;
using Tgstation.Server.Host.Watchdog;
@@ -63,7 +63,7 @@ namespace Tgstation.Server.Host.Watchdog
return serverFactory.CreateServer(args, updatePath);
}
//honestly have no idea what this is for, but the examples i see just return null and it seems to work just fine
//honestly have no idea what this is for, https://github.com/dotnet/coreclr/blob/master/Documentation/design-docs/assemblyloadcontext.md
/// <inheritdoc />
protected override Assembly Load(AssemblyName assemblyName) => null;
}
@@ -4,14 +4,12 @@ using System.IO;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host.Startup;
namespace Tgstation.Server.Host.Watchdog
{
/// <inheritdoc />
sealed class Watchdog : IWatchdog
{
/// <summary>
/// The <see cref="IActiveLibraryDeleter"/> for the <see cref="Watchdog"/>
/// </summary>
@@ -16,7 +16,9 @@ namespace Tgstation.Server.Host.Core.Tests
public Task ApplyUpdate(byte[] updateZipData, IIOManager ioManager, CancellationToken cancellationToken) => throw new NotImplementedException();
public void RegisterForUpdate(Action action) => throw new NotImplementedException();
public void Restart() => throw new NotImplementedException();
[TestMethod]
public async Task TestSuccessfulStartup()
{