mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 04:32:57 +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