diff --git a/tests/Tgstation.Server.Host.Tests/System/TestProcessFeatures.cs b/tests/Tgstation.Server.Host.Tests/System/TestProcessFeatures.cs index c7545b2672..065813a50c 100644 --- a/tests/Tgstation.Server.Host.Tests/System/TestProcessFeatures.cs +++ b/tests/Tgstation.Server.Host.Tests/System/TestProcessFeatures.cs @@ -27,6 +27,9 @@ namespace Tgstation.Server.Host.System.Tests [TestMethod] public async Task TestGetUsername() { + if (!String.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("TRAVIS"))) + Assert.Inconclusive("This test doesn't work on TRAVIS CI!"); + var username = await features.GetExecutingUsername(global::System.Diagnostics.Process.GetCurrentProcess(), default); Assert.IsTrue(username.Contains(Environment.UserName), $"Exepcted a string containing \"{Environment.UserName}\", got \"{username}\""); }