Fix ContentIntegrationTest.WaitUntil with a func not passing tickStep
This commit is contained in:
@@ -319,7 +319,7 @@ namespace Content.IntegrationTests
|
|||||||
protected async Task WaitUntil(IntegrationInstance instance, Func<bool> func, int maxTicks = 600,
|
protected async Task WaitUntil(IntegrationInstance instance, Func<bool> func, int maxTicks = 600,
|
||||||
int tickStep = 1)
|
int tickStep = 1)
|
||||||
{
|
{
|
||||||
await WaitUntil(instance, async () => await Task.FromResult(func()), maxTicks);
|
await WaitUntil(instance, async () => await Task.FromResult(func()), maxTicks, tickStep);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected async Task WaitUntil(IntegrationInstance instance, Func<Task<bool>> func, int maxTicks = 600,
|
protected async Task WaitUntil(IntegrationInstance instance, Func<Task<bool>> func, int maxTicks = 600,
|
||||||
|
|||||||
Reference in New Issue
Block a user