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

Improve bootstrap universe #4540

Open
AurelienFT opened this issue Nov 15, 2023 · 0 comments
Open

Improve bootstrap universe #4540

AurelienFT opened this issue Nov 15, 2023 · 0 comments
Labels
bootstrap Issues related to the bootstrap tests Issues related to testing the node

Comments

@AurelienFT
Copy link
Contributor

AurelienFT commented Nov 15, 2023

In the revamp of bootstrap tests we added tests universe for client and server that allow to test a bootstrap with determined data at the start of the test.

Currently, the determined data setup doesn't allow us to setup a way to stream changes. It should be possible to test more complex tests like before but needs a bit of design. One solution that I had is to make a list of changes at start and each time the final_state mock give the database reference it wait for a slot to happens and edit the database to generate changes. I don't know if it's the best solution or if it's possible so it's just a proposition.

Another point is to improve the checks at the end of the tests in the bootstrap in the bootstrap. As we are not building a second GlobalBootstrapState we need to make the checks of the fields directly in the universe. That should be straightforward

@Leo-Besancon Leo-Besancon mentioned this issue Nov 15, 2023
14 tasks
@AurelienFT AurelienFT added bootstrap Issues related to the bootstrap tests Issues related to testing the node labels Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bootstrap Issues related to the bootstrap tests Issues related to testing the node
Projects
None yet
Development

No branches or pull requests

1 participant