Class HJMPOptimisticConcurrencyPerformanceTest

java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.test.HJMPOptimisticConcurrencyPerformanceTest
All Implemented Interfaces:
JaloSessionHolder

@PerformanceTest public class HJMPOptimisticConcurrencyPerformanceTest extends HybrisJUnit4Test
Tests HJMP persistence layer behavior concerning concurrent modification checks.

There is a config parameter hjmp.throw.concurrent.modification.exceptions which either enables or disables checking that upon update a item row must have the same version that has been read when fetching the HJMP entity object. We discovered in PLA-10894 that switching off this check actually every conflicting update did not happen at all instead of both updates happening one after the other!