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

Fix for unit tests failing. #2028

Merged
merged 1 commit into from
Feb 1, 2024
Merged

Fix for unit tests failing. #2028

merged 1 commit into from
Feb 1, 2024

Conversation

mitchdenny
Copy link
Member

@mitchdenny mitchdenny commented Feb 1, 2024

This PR fixes the ordering of when I run the before start lifecycle hook. I accidentally moved it after start in the DistributedApplication.StartAsync. Most folks don't use this, but we do in our local only CI tests.

This change increases the timeout waiting for the endpoints to be allocated (we need to optimize all this in P4) but also reverts the bug that I introduced.

Microsoft Reviewers: Open in CodeFlow

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Feb 1, 2024
@mitchdenny mitchdenny self-assigned this Feb 1, 2024
@mitchdenny mitchdenny added this to the preview 3 (Feb) milestone Feb 1, 2024
@mitchdenny mitchdenny merged commit 85c90cf into main Feb 1, 2024
8 checks passed
@mitchdenny mitchdenny deleted the mitchdenny/fix-hook-order branch February 1, 2024 03:28
@mitchdenny
Copy link
Member Author

/backport to release/8.0-preview3

Copy link
Contributor

github-actions bot commented Feb 1, 2024

Started backporting to release/8.0-preview3: https://github.com/dotnet/aspire/actions/runs/7735847166

radical pushed a commit to radical/aspire that referenced this pull request Feb 2, 2024
radical pushed a commit to radical/aspire that referenced this pull request Feb 6, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants