You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI failure RegularExpressions didn't throw expected TimeoutException #106096
@stephentoub did we make regex too fast that we need to shorten the timeout?
Actually, yes. Though we can't really shorten the timeout, it's already set at 1ms. It's just that a couple of the inputs/patterns being tested now only take around 10ms to run, at least on my machine. If there's any hiccup in CI, things could stretch in a way where it would sporadically pass.
Activity
dotnet-policy-service commentedon Aug 7, 2024
Tagging subscribers to this area: @dotnet/area-system-text-regularexpressions
See info in area-owners.md if you want to be subscribed.
ericstj commentedon Aug 9, 2024
@stephentoub did we make regex too fast that we need to shorten the timeout?
stephentoub commentedon Aug 9, 2024
Actually, yes. Though we can't really shorten the timeout, it's already set at 1ms. It's just that a couple of the inputs/patterns being tested now only take around 10ms to run, at least on my machine. If there's any hiccup in CI, things could stretch in a way where it would sporadically pass.
We should just delete these:
runtime/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/Regex.Match.Tests.cs
Lines 1267 to 1268 in 68511fd