Skip to content

Commit 4976ee1

Browse files
authored
[tests] Use helix's retry mechanism for flaky tests (#3018)
In particular: Aspire.EndToEnd.Tests: #2850 `Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests`, and `Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests` get aborted with timeout: `Aborting test run: test run timeout of 600000 milliseconds exceeded.` Related: https://github.com/dotnet/arcade/tree/main/src/Microsoft.DotNet.Helix/Sdk#test-retry
1 parent 628eb61 commit 4976ee1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

eng/test-configuration.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"version": 1,
3+
"defaultOnFailure": "fail",
4+
"localRerunCount": 1,
5+
"retryOnRules": [
6+
{ "testAssembly": { "regex": "Aspire.EndToEnd.*" }, "failureMessage": { "regex": "App run failed" } },
7+
{ "testAssembly": { "regex": "Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.*" } },
8+
{ "testAssembly": { "regex": "Aspire.Microsoft.EntityFrameworkCore.SqlServer.*" } }
9+
]
10+
}

0 commit comments

Comments
 (0)