Skip to content

Fix failure in MongoDbFunctionalTests.VerifyWithInitFiles - #9391

Merged
Dan Moseley (danmoseley) merged 1 commit into
microsoft:mainfrom
danegsta:danegsta/fixInitFilesTest
May 19, 2025
Merged

Fix failure in MongoDbFunctionalTests.VerifyWithInitFiles#9391
Dan Moseley (danmoseley) merged 1 commit into
microsoft:mainfrom
danegsta:danegsta/fixInitFilesTest

Conversation

@danegsta

@danegstaDavid Negstad (danegsta) commented May 19, 2025

Copy link
Copy Markdown
Member

Description

Fix test failure due to a temp folder not being created before config files were written to it.

Fixes#5937

CopilotAI review requested due to automatic review settings May 19, 2025 17:01

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses a test failure in MongoDbFunctionalTests.VerifyWithInitFiles by ensuring that the temp directory is created before configuration files are written.

  • Added Directory.CreateDirectory(initFilesPath) to create the temporary folder.

@github-actionsgithub-actionsBot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label May 19, 2025
@danmoseley
Dan Moseley (danmoseley) merged commit 9353f7e into microsoft:mainMay 19, 2025
@danmoseley

Copy link
Copy Markdown
Contributor

oh whoops David Negstad (@danegsta) I guess we should remove [QuarantinedTest("https://github.com/dotnet/aspire/issues/5937")] at the same time.

@danegsta

Copy link
Copy Markdown
MemberAuthor

oh whoops David Negstad (@danegsta) I guess we should remove [QuarantinedTest("https://github.com/dotnet/aspire/issues/5937")] at the same time.

I'll open a new PR!

@danegsta

Copy link
Copy Markdown
MemberAuthor

@github-actionsgithub-actionsBot locked and limited conversation to collaborators Jun 19, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test Failure: Aspire.Hosting.MongoDB.Tests.MongoDbFunctionalTests.VerifyWithInitFiles

4 participants

@danegsta@danmoseley@radical