Skip to content

fix(mempool/tests): Reduce tests duration (backport #2263)#2264

Merged
melekes merged 2 commits intov1.xfrom
mergify/bp/v1.x/pr-2263
Feb 8, 2024
Merged

fix(mempool/tests): Reduce tests duration (backport #2263)#2264
melekes merged 2 commits intov1.xfrom
mergify/bp/v1.x/pr-2263

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Feb 8, 2024

This is an automatic backport of pull request #2263 done by Mergify.
Cherry-pick of 858ac4e has failed:

On branch mergify/bp/v1.x/pr-2263
Your branch is up to date with 'origin/v1.x'.

You are currently cherry-picking commit 858ac4e7b.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   mempool/clist_mempool.go

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   mempool/clist_mempool_test.go
	both modified:   mempool/reactor.go

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

- Do not print the whole transaction in log messages. In particular,
`TestMempool_CheckTxChecksTxSize` sometimes timeouts because it logs the
whole transaction, which can be huge in this test.
- Decrease the timeouts of some tests that are unnecessarily high.
- Remove verbose or redundant debug log messages.

---

#### PR checklist

- [ ] Tests written/updated
- [ ] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments
- [ ] Title follows the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec

(cherry picked from commit 858ac4e)

# Conflicts:
#	mempool/clist_mempool_test.go
#	mempool/reactor.go
@mergify mergify bot requested a review from a team as a code owner February 8, 2024 06:33
@mergify mergify bot requested a review from a team February 8, 2024 06:33
@mergify mergify bot added the conflicts label Feb 8, 2024
Copy link
Collaborator

@melekes melekes left a comment

Choose a reason for hiding this comment

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

👍

@melekes melekes merged commit 6438cac into v1.x Feb 8, 2024
@melekes melekes deleted the mergify/bp/v1.x/pr-2263 branch February 8, 2024 06:54
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.

3 participants