-
Notifications
You must be signed in to change notification settings - Fork 686
Hosting test timeouts #6387
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
Hosting test timeouts #6387
Conversation
66e3b6f
to
48a7682
Compare
I think merging this is a good idea. The only question is about timing (in terms of when to merge AND individual timeouts). Some of our test cases need to be modified to use time provider but that will take some time to do that so some tests might become flakey initially whilst that gets worked through. So should we wait until 9.0 has a stable build. (acknowledging that we are currently being impacted by flakey tests). |
@@ -34,7 +34,7 @@ public async Task DisposeAsync() | |||
public static async Task<RedisContainer> CreateContainerAsync() | |||
{ | |||
var container = new RedisBuilder() | |||
.WithImage($"{TestConstants.AspireTestContainerRegistry}/{RedisContainerImageTags.Image}:{RedisContainerImageTags.Tag}") | |||
.WithImage($"{ComponentTestConstants.AspireTestContainerRegistry}/{RedisContainerImageTags.Image}:{RedisContainerImageTags.Tag}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a TestConstants type and renamed this one to avoid conflict.
Do you want this to be in the 9.0 branch? While these are just test changes, there are a lot of test changes. There are benefits: it would make backporting test changes easier. Could make 9.0 branch less flaky. I was imagining these changes would be merged on main and not be backported. |
I don't want this PR to rot. It makes changes across hosting tests project and it will gather conflicts easily. What feedback do you have? What changes are required before it can be merged? |
If you are suggesting backporting this to release/9.0 I am OK with it ... but we should make sure we can get all the way to release/9.0 for sure before merging this to main otherwise every other backport will become painful because of the number of source files this change touches. Fact that this is already starting to accumulate merge conflicts kind of makes my point. I'm 100% supportive of this change, it's just about timing (I like how this gives us localized control over wait behavior vs. some global approach). |
No |
I think this is a good change. Its heavy handed but I think test reliability will improve if we can more easily identify where hangs are occuring. |
88f6140
to
e90c817
Compare
Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Checklist
<remarks />
and<code />
elements on your triple slash comments?Microsoft Reviewers: Open in CodeFlow