Package de.hybris.platform.test
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!
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description HJMPOptimisticConcurrencyPerformanceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testMissingUpdateProblemCheckDisabledStressTest()
void
testMissingUpdateProblemCheckEnabledStressTest()
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
testMissingUpdateProblemCheckEnabledStressTest
public void testMissingUpdateProblemCheckEnabledStressTest() throws JaloBusinessException, java.lang.InterruptedException
- Throws:
JaloBusinessException
java.lang.InterruptedException
-
testMissingUpdateProblemCheckDisabledStressTest
public void testMissingUpdateProblemCheckDisabledStressTest() throws JaloBusinessException, java.lang.InterruptedException
- Throws:
JaloBusinessException
java.lang.InterruptedException
-
-