Skip to content

Commit

Permalink
Add timeout to hanging test (#5944)
Browse files Browse the repository at this point in the history
GraphConstructionCanLoadEntryPointsFromSolution has been hanging often. Adding a timeout to make that a bit better.
  • Loading branch information
Forgind authored Dec 7, 2020
1 parent 3bce690 commit 1ff34e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Build.UnitTests/Graph/GraphLoadedFromSolution_tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ var currentSolutionConfigurationPlatform in SolutionFileBuilder.SolutionConfigur
}
}

[Theory]
[Theory(Timeout = 20_000)] // Test hangs intermittently: https://github.com/dotnet/msbuild/issues/5520
[MemberData(nameof(GraphsWithUniformSolutionConfigurations))]
public void GraphConstructionCanLoadEntryPointsFromSolution(
Dictionary<int, int[]> edges,
Expand Down

0 comments on commit 1ff34e8

Please sign in to comment.