Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tests] Fix some flaky tests in Aspire.Hosting.Azure.Tests (#5187)
* [tests] ValidateApplicationSamples: use a temporary path for generating the manifest Other tests also generate and use `postgres.module.bicep` in the tests' bindir, and these can run in parallel causing them to interfere with each other. Issue: #5174 * [tests] ManifestUtils.GetManifestWithBicep: generate in a temporary path Avoid interfering with other tests by generating the bicep files in per-test temporyary paths. `AzureBicepResourceTests.AsAzurePostgresFlexibleServerViaRunMode` uses `postgres.module.bicep` also, and that file can get overwritten by other tests like in `AzureBicepResourceTests`. Issue: #5113
- Loading branch information