mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Merge pull request #19021 from frenzibyte/fix-flaky-tests-envvar
Fix flaky tests not running at all with environment variable set
This commit is contained in:
@ -18,7 +18,7 @@ namespace osu.Game.Tests
|
||||
}
|
||||
|
||||
public FlakyTestAttribute(int tryCount)
|
||||
: base(Environment.GetEnvironmentVariable("OSU_TESTS_FAIL_FLAKY") == "1" ? 0 : tryCount)
|
||||
: base(Environment.GetEnvironmentVariable("OSU_TESTS_FAIL_FLAKY") == "1" ? 1 : tryCount)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user