Package de.hybris.platform.test
Class HJMPOptimisticConcurrencyPerformanceTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.test.HJMPOptimisticConcurrencyPerformanceTest
- All Implemented Interfaces:
JaloSessionHolder
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!
-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
HJMPOptimisticConcurrencyPerformanceTest
public HJMPOptimisticConcurrencyPerformanceTest()
-
-
Method Details
-
testMissingUpdateProblemCheckEnabledStressTest
public void testMissingUpdateProblemCheckEnabledStressTest() throws JaloBusinessException, InterruptedException -
testMissingUpdateProblemCheckDisabledStressTest
public void testMissingUpdateProblemCheckDisabledStressTest() throws JaloBusinessException, InterruptedException
-