mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-07-16 02:22:52 +01:00
Tired of these fucking rate limits GitHub!!!
This commit is contained in:
@@ -66,6 +66,13 @@ namespace Tgstation.Server.Tests
|
||||
var updatedAssemblyVersion = FileVersionInfo.GetVersionInfo(updatedAssemblyPath);
|
||||
Assert.AreEqual(testUpdateVersion, Version.Parse(updatedAssemblyVersion.FileVersion).Semver());
|
||||
}
|
||||
catch (RateLimitException)
|
||||
{
|
||||
if (String.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("TGS4_TEST_GITHUB_TOKEN")))
|
||||
throw;
|
||||
|
||||
Assert.Inconclusive("GitHub rate limit hit!");
|
||||
}
|
||||
finally
|
||||
{
|
||||
serverCts.Cancel();
|
||||
|
||||
Reference in New Issue
Block a user