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

Make repository tests independant + liquibase log level = ERROR and hikari log level = INFO #94

Merged
merged 9 commits into from
Jan 29, 2025

Conversation

etiennehomer
Copy link
Contributor

No description provided.

Signed-off-by: Etienne Homer <[email protected]>
Signed-off-by: Etienne Homer <[email protected]>
@etiennehomer etiennehomer changed the title Fix make repository tests independant Fix: make repository tests independant Jan 24, 2025
Copy link
Contributor

@EtienneLt EtienneLt left a comment

Choose a reason for hiding this comment

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

same as in NetworkStoreControllerIt of powsybl-network-store-server

@antoinebhs
Copy link
Contributor

Maybe check the time taken by the tests with and without dirtying: is it the best strategy?

@etiennehomer
Copy link
Contributor Author

Maybe check the time taken by the tests with and without dirtying: is it the best strategy?

It makes tests longer on NetworkStoreRepositoryTest : 1sec => 11sec. But it's not so long compared to the ~5 min of the tests execution.

@jonenst jonenst merged commit 63ca2ab into main Jan 29, 2025
5 checks passed
@etiennehomer etiennehomer changed the title Fix: make repository tests independant Make repository tests independant + liquibase log level = ERROR and hikari log level = INFO Jan 29, 2025
@jonenst jonenst deleted the fix_make_repository_tests_independant branch January 29, 2025 13:06
EtienneLt pushed a commit that referenced this pull request Feb 4, 2025
Using a different db for each method with the cheap technique like other places.
Reduce logging verbosity by not logging liquibase updates at all, they are too noisy at the begining of each test

Signed-off-by: Etienne Homer <[email protected]>
EtienneLt pushed a commit that referenced this pull request Feb 4, 2025
Using a different db for each method with the cheap technique like other places.
Reduce logging verbosity by not logging liquibase updates at all, they are too noisy at the begining of each test

Signed-off-by: Etienne Homer <[email protected]>
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.

4 participants