Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests] Fix some flaky tests in Aspire.Hosting.Azure.Tests #5187

Merged
merged 2 commits into from
Aug 6, 2024

Commits on Aug 5, 2024

  1. [tests] ValidateApplicationSamples: use a temporary path for generati…

    …ng 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: dotnet#5174
    radical committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    419437d View commit details
    Browse the repository at this point in the history
  2. [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: dotnet#5113
    radical committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    4d13422 View commit details
    Browse the repository at this point in the history