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: tx client concurrency test (backport #4104) #4239

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jan 17, 2025

This PR makes two small tweaks:

  • Fixes TestConcurrentTxSubmission by adding a capacity of 1 to the errCh. Currently errors were being ignored because the wait group meant that there wasn't a process to read to the channel as it was being written to. This fixes this
  • Catches the case where a user cancels the context when calling ConfirmTx

This test is broken until celestiaorg/celestia-core#1553 is resolved


This is an automatic backport of pull request #4104 done by Mergify.

This PR makes two small tweaks:
- Fixes `TestConcurrentTxSubmission` by adding a capacity of 1 to the
errCh. Currently errors were being ignored because the wait group meant
that there wasn't a process to read to the channel as it was being
written to. This fixes this
- Catches the case where a user cancels the context when calling
`ConfirmTx`

**This test is broken until
celestiaorg/celestia-core#1553 is resolved**

---------

Co-authored-by: nina / ნინა <[email protected]>
(cherry picked from commit f21716b)
@mergify mergify bot requested a review from a team as a code owner January 17, 2025 14:57
@mergify mergify bot requested review from cmwaters and rach-id January 17, 2025 14:57
@github-actions github-actions bot added the bot item was created by a bot label Jan 17, 2025
@rootulp rootulp merged commit 0bccf1b into v3.x Jan 17, 2025
29 of 30 checks passed
@rootulp rootulp deleted the mergify/bp/v3.x/pr-4104 branch January 17, 2025 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot item was created by a bot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants