Altinn / Altinn/app-lib-dotnet

Regex engine timout leads to flaky tests

Open
#1,206 1 comment 0 reactions 0 assignees View on GitHub
kind/chore status/draft status/triage
Dominant language
C#
Stars
8
Forks
27
Avg merge
1h 21m
Merged PRs (30d)
7

Description

### Description

FormatDate_Theory fails with "The Regex engine has timed out while trying to match a pattern to an input string [...]".

### Additional Information

_No response_

### Tasks

_No response_

### Acceptance Criterias

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the FormatDate_Theory test and reproduce its regex timeout. Read the test and the format-date code it exercises to determine which input or pattern is timing out. Done means the test passes reliably without the Regex engine timeout.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.