Project

General

Profile

Actions

Feature #2485

closed

Test: clear cache automatically in transactional integration tests

Added by Radek Tomiška over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Low
Assignee:
Radek Tomiška
Category:
Test
Target version:
Start date:
09/11/2020
Due date:
% Done:

100%

Estimated time:
Owner:

Description

When integration test is @Transactional, then automatic rollback occurs for all data persisted in database, but cache is not evicted - e.g. when form definition is created or updated, then other test can fail because cache is invalid.
If integration test (AbstractIntegrationTest) is @Transactional (+ @Rollback(true) by default), then clear all caches automatically.

Actions

Also available in: Atom PDF