diff --git a/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/Regex.Match.Tests.cs b/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/Regex.Match.Tests.cs index d43057fc9caf1..327d50ee81f76 100644 --- a/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/Regex.Match.Tests.cs +++ b/src/libraries/System.Text.RegularExpressions/tests/FunctionalTests/Regex.Match.Tests.cs @@ -1798,12 +1798,6 @@ public static IEnumerable StressTestDeepNestingOfConcat_TestData() [MemberData(nameof(StressTestDeepNestingOfConcat_TestData))] public async Task StressTestDeepNestingOfConcat(RegexEngine engine, string pattern, string anchor, string input, int pattern_repetition, int input_repetition) { - if (engine == RegexEngine.SourceGenerated) - { - // Currently too stressful for Roslyn. - return; - } - if (engine == RegexEngine.NonBacktracking) { // [ActiveIssue("https://github.com/dotnet/runtime/issues/60645")] @@ -1832,12 +1826,6 @@ public static IEnumerable StressTestDeepNestingOfLoops_TestData() [MemberData(nameof(StressTestDeepNestingOfLoops_TestData))] public async Task StressTestDeepNestingOfLoops(RegexEngine engine, string begin, string inner, string end, RegexOptions options, string input, int pattern_repetition, int input_repetition) { - if (engine == RegexEngine.SourceGenerated) - { - // Currently too stressful for Roslyn. - return; - } - string fullpattern = string.Concat(Enumerable.Repeat(begin, pattern_repetition)) + inner + string.Concat(Enumerable.Repeat(end, pattern_repetition)); string fullinput = string.Concat(Enumerable.Repeat(input, input_repetition));