We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74684a4 commit f0217c5Copy full SHA for f0217c5
tests/IcedTasks.Tests/Expect.fs
@@ -156,9 +156,13 @@ type ManualTimeProviderExtensions =
156
do! Task.Yield()
157
this.Advance(time)
158
//https://github.com/dotnet/runtime/issues/85326
159
- do! Task.yieldMany 100
160
- do! Task.Delay(15)
161
+ // I'm not sure why we have to do this many yields, but sometimes the timer doesn't fire and the test run forever.
+ // I've spent way too much time on this already.
+ do!
162
+ Task.yieldMany (
163
+ Int32.MaxValue
164
+ / 100000
165
+ )
166
}
167
168
0 commit comments