-
Notifications
You must be signed in to change notification settings - Fork 467
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] Misc fixes for playground tests #5318
Conversation
… have TestEndpoints defined
…unsCleanly, even though the TestEndpoints for it are blocked
…uch one main test running
@@ -27,6 +27,10 @@ | |||
<ItemGroup> | |||
<_TestRunCommandArguments Remove="@(_TestRunCommandArguments)" /> | |||
|
|||
<_TestBlameArguments Remove="@(_TestBlameArguments)" /> |
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.
What's already in this item that need to be cleared?
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.
aspire/tests/helix/send-to-helix-inner.proj
Lines 66 to 70 in 79cdd06
<_TestBlameArguments Include="--blame-hang" /> | |
<_TestBlameArguments Include="--blame-hang-dump-type full" /> | |
<_TestBlameArguments Include="--blame-hang-timeout 10m" /> | |
<_TestBlameArguments Include="--blame-crash" /> | |
<_TestBlameArguments Include="--blame-crash-dump-type full" /> |
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.
Why don't we want the defaults? Maybe adding a comment here could help.
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 had this on the commit message, which is not useful enough as it would get lost in the squashed commit: Remove the blame-hang-timeout for playground tests, as it is pretty much one main test running
.
I'll add a comment with that expanded to:
Remove the blame-hang-timeout for playground tests, as it is pretty much one main test running - 'TestEndpointsReturnOk'. IOW, the blame-hang timeout would have to be at least as long as the full TestSession timeout.
Is that clearer? I'm in two minds now whether to instead use 20min
blame-hang-timeout, which is the test session timeout, so it won't really serve any purpose. But if we add more tests and the session timeout goes up, then this hang timeout would become relevant.
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.
Adding in a follow up.
var appHostName = Path.GetFileNameWithoutExtension(asm); | ||
if (appHostsWithTestEndpoints.Contains(appHostName)) |
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.
Can you add a comment why we are filtering these?
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 comment, and renamed the method so it is clearer.
Microsoft Reviewers: Open in CodeFlow