hawkbit
hawkbit copied to clipboard
Speedup build: introduced SharedSqlTestDatabase and DisposableSqlTestDatabase junit extensions
Extracted shared database logic from PR https://github.com/eclipse/hawkbit/pull/1126 (goal state).
This is an intermediate state, where the tests
- reuse the generated databases - one generated db per jvm process (
surefire.forkCount) - use a single tenant for all the tests
- Have the
CleanupTestExecutionListenerrun after each method
Only two tests require an own database: SystemManagementTest and MultiTenancyEntityTest since they modify the default tenant
Can one of the admins verify this patch?