1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 03:25:11 +08:00

Disable TestInstantPolling

This commit is contained in:
smoogipoo 2019-02-22 16:59:52 +09:00
parent de52318ae9
commit d4bdae4b04

View File

@ -56,6 +56,7 @@ namespace osu.Game.Tests.Visual
}); });
[Test] [Test]
[Ignore("polling is threaded, and it's very hard to hook into it correctly")]
public void TestInstantPolling() public void TestInstantPolling()
{ {
createPoller(true); createPoller(true);
@ -106,8 +107,11 @@ namespace osu.Game.Tests.Visual
private void checkCount(int checkValue) private void checkCount(int checkValue)
{ {
Logger.Log($"value is {count}"); AddAssert($"count is {checkValue}", () =>
AddAssert($"count is {checkValue}", () => count == checkValue); {
Logger.Log($"value is {count}");
return count == checkValue;
});
} }
private void createPoller(bool instant) => AddStep("create poller", () => private void createPoller(bool instant) => AddStep("create poller", () =>