Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Setup for stateful test of txpool #981

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

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
Collaborator

@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