aspire
aspire copied to clipboard
[tests] Fix flaky tests `NodeFunctionalTests.VerifyNodeAppWorks` and ``NodeFunctionalTests.VerifyNpmApp`
-
AddNodeAppTests: Ensure the app builder cleans up after itself
The app here uses port 5031, and 5032, if this isn't cleaned up before subsequent tests that need the same ports would fail. Tests like
NodeFunctionalTests.VerifyNodeAppWorksfail withWatching for service port allocation ended with an error after 10009.0979and eventually timing out. -
NodeFunctionalTests: Use LongDurationTimeout which scales up on CI
Issue: https://github.com/dotnet/aspire/issues/8870