mirror of
https://github.com/ppy/osu.git
synced 2026-06-05 12:03:46 +08: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