-
Notifications
You must be signed in to change notification settings - Fork 872
Fix test timeout_during_authentication #6388
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
base: main
Are you sure you want to change the base?
Conversation
roji
left a comment
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.
Just checking: don't we need to pass --blame-hang (and maybe --blame, --blame-crash) for dotnet test above in order to produce these files?
|
|
||
| - name: Upload Hang Dumps | ||
| uses: actions/upload-artifact@v6 | ||
| if: always() |
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.
Is the if necessary?
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.
It's kinda funny. Google's LLM said that yes, it's required. Checking again it now says that it should be failure() instead of always(). But anyway yes, we do have to have that if as otherwise we'll skip this step.
| dotnet test -c ${{ matrix.config }} -f ${{ matrix.test_tfm }} test/Npgsql.DependencyInjection.Tests --logger "GitHubActions;report-warnings=false" | ||
| shell: bash | ||
|
|
||
| - name: Upload Hang Dumps |
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.
| - name: Upload Hang Dumps | |
| - name: Upload Test Hang Dumps |
Already have it. npgsql/.github/workflows/build.yml Lines 302 to 304 in 7751d2e
We can also add |
No description provided.