Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix test timeout_during_authentication#6388

Merged
vonzshik merged 3 commits into
mainfrom
timeout-during-auth-test-fix
Dec 27, 2025
Merged

Fix test timeout_during_authentication#6388
vonzshik merged 3 commits into
mainfrom
timeout-during-auth-test-fix

Conversation

@vonzshik

Copy link
Copy Markdown
Contributor

No description provided.

@vonzshik vonzshik requested a review from roji as a code owner December 23, 2025 08:09

@roji roji left a comment

Copy link
Copy Markdown
Member

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?

Comment thread .github/workflows/build.yml Outdated

- name: Upload Hang Dumps
uses: actions/upload-artifact@v6
if: always()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is the if necessary?

Copy link
Copy Markdown
Contributor Author

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.

Comment thread .github/workflows/build.yml Outdated
dotnet test -c ${{ matrix.config }} -f ${{ matrix.test_tfm }} test/Npgsql.DependencyInjection.Tests --logger "GitHubActions;report-warnings=false"
shell: bash

- name: Upload Hang Dumps

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
- name: Upload Hang Dumps
- name: Upload Test Hang Dumps

@vonzshik

Copy link
Copy Markdown
Contributor Author

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?

Already have it.

- name: Test
run: |
dotnet test -c ${{ matrix.config }} -f ${{ matrix.test_tfm }} test/Npgsql.Tests --logger "GitHubActions;report-warnings=false" --blame-hang-timeout 30s

We can also add --blame-crash, though I do not think we crashed ever.

@vonzshik vonzshik enabled auto-merge (squash) December 27, 2025 08:38
@vonzshik vonzshik merged commit 8cf2fa6 into main Dec 27, 2025
26 of 27 checks passed
@vonzshik vonzshik deleted the timeout-during-auth-test-fix branch December 27, 2025 08:49
vonzshik added a commit that referenced this pull request Dec 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants