Skip to content

Fixes ISSUE-50186. Speedup DataSourceSecurity test.

This test issues a bigger number of changeProfile calls (one per parametrized test). Optimize away the backend http call in case the requested params are the same as used last time.

Change is done in low level utility function as then every usage can (potentially) gain the speedup. Even is DataSourceSecurity is the main heavy user.

This change assumes no concurrent threads + all changeProfile calls going via this method.

try-run: https://builds.openbravo.com/view/try/job/try-init/1616/

Edited by Stefan Huehner

Merge request reports