mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-07-16 10:33:58 +01:00
Another rate limit exception test failure [TGSDeploy]
This commit is contained in:
@@ -504,6 +504,13 @@ namespace Tgstation.Server.Tests
|
||||
Assert.AreEqual(2, node2Info.SwarmServers.Count);
|
||||
Assert.IsNotNull(node2Info.SwarmServers.SingleOrDefault(x => x.Identifier == "controller"));
|
||||
}
|
||||
catch (RateLimitException ex)
|
||||
{
|
||||
if (String.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("TGS4_TEST_GITHUB_TOKEN")))
|
||||
throw;
|
||||
|
||||
Assert.Inconclusive("GitHub rate limit hit: {0}", ex);
|
||||
}
|
||||
finally
|
||||
{
|
||||
serverCts.Cancel();
|
||||
|
||||
Reference in New Issue
Block a user