mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Fix flaky tests not running at all with environment variable set
This commit is contained in:
parent
1ff3b19360
commit
9115072917
@ -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)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user