From fea6deb33c699945ff7d3b3b550db2e62860b6c0 Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Fri, 15 May 2020 23:14:12 -0400 Subject: [PATCH] Whatever --- .../Tgstation.Server.Host.Tests/System/TestProcessFeatures.cs | 3 +++ 1 file changed, 3 insertions(+) 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}\""); }