aspire icon indicating copy to clipboard operation
aspire copied to clipboard

[tests] Fix flaky tests `NodeFunctionalTests.VerifyNodeAppWorks` and ``NodeFunctionalTests.VerifyNpmApp`

Open radical opened this issue 8 months ago • 0 comments

  • 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.VerifyNodeAppWorks fail with Watching for service port allocation ended with an error after 10009.0979 and eventually timing out.

  • NodeFunctionalTests: Use LongDurationTimeout which scales up on CI

Issue: https://github.com/dotnet/aspire/issues/8870

radical avatar Apr 30 '25 01:04 radical