Remove save delay from SetupWizard

- Fix test namespace
This commit is contained in:
Jordan Brown
2020-04-27 14:49:01 -04:00
parent 9214357946
commit 8ee3d69f1c
2 changed files with 2 additions and 8 deletions
@@ -737,11 +737,6 @@ namespace Tgstation.Server.Host.Setup
await console.PressAnyKeyAsync(cancellationToken).ConfigureAwait(false);
throw new OperationCanceledException();
}
await console.WriteAsync("Waiting for configuration changes to reload...", true, cancellationToken).ConfigureAwait(false);
// we need to wait for the configuration's file system watcher to read and reload the changes
await asyncDelayer.Delay(TimeSpan.FromSeconds(5), cancellationToken).ConfigureAwait(false);
}
/// <summary>
@@ -1,6 +1,5 @@
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
@@ -12,12 +11,12 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host.Configuration;
using Tgstation.Server.Host.Core;
using Tgstation.Server.Host.Database;
using Tgstation.Server.Host.IO;
using Tgstation.Server.Host.Setup;
using Tgstation.Server.Host.System;
namespace Tgstation.Server.Host.Core.Tests
namespace Tgstation.Server.Host.Setup.Tests
{
[TestClass]
public sealed class TestSetupWizard