Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Setup for stateful test of txpool#981

Open
jomuel wants to merge 2 commits intomainfrom
stateful-test-txpool
Open

Setup for stateful test of txpool#981
jomuel wants to merge 2 commits intomainfrom
stateful-test-txpool

Conversation

@jomuel
Copy link
Contributor

@jomuel jomuel commented Apr 27, 2023

Remaining rules to draw input data and model txpool's behavior will be added in the next PR.

@AskAlexSharov
Copy link
Contributor

@jomuel hi. need to merge "main" and run make test

@AlexeyAkhunov
Copy link
Contributor

I think you need to do cleanup for db transactions (Rollback) and the databases (Close) using defer otherwise the tests hit the limit of open RO transactions. Also, it is better to create temporary directories using functions of the type testing.T, because these are automatically cleaned up on exit

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants