Skip to content

Conversation

tbruyelle
Copy link
Collaborator

State was not reinitialized between test cases, which was confusing for some scenario and forced sometimes to reset things like the deposit throttling.

The fix consists only of calling suite.reset() in KeeperTestSuite.SetupSubTest(), the other changes removes any correlation previously made by the test cases about this common state.

State was not reinitialized between test cases, which was confusing for
some scenario and forced sometimes to reset things like the deposit throttling.

The fix consists only of calling `suite.reset()` in
`KeeperTestSuite.SetupSubTest()`, the other changes removes any
correlation previously made by the test cases about this common state.
@giunatale
Copy link
Collaborator

I wanted to do a "lighter" solution tbh with my approach, but this is more rigorous solution. TY

@giunatale giunatale changed the title test(x/gov): independant cases in KeeperTestSuite test(x/gov): independent cases in KeeperTestSuite Mar 28, 2025
@giunatale giunatale merged commit 18b385d into giunatale/dynamic-deposit/time-independent-increase Mar 28, 2025
14 checks passed
@giunatale giunatale deleted the tbruyelle/test/gov-testsuite-fixes branch March 28, 2025 09:19
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.

2 participants