Class HanaTasksQueueGatewayTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.task.impl.gateways.BaseGatewayTest
de.hybris.platform.task.impl.gateways.HanaTasksQueueGatewayTest
- All Implemented Interfaces:
JaloSessionHolder
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanstatic final booleanstatic final intstatic final Stringstatic final intstatic final intstatic final intFields inherited from class de.hybris.platform.task.impl.gateways.BaseGatewayTest
auxiliaryTablesGatewayFactory, taskService, testHelperFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.hybris.platform.task.impl.gateways.BaseGatewayTest
assertTableExists, assertTableNotExists, cleanUpTable, disableTaskEngine, enableTaskEngine, prepareTable, setupBaseGatewayTestMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Field Details
-
NUMBER_OF_TASKS
public static final int NUMBER_OF_TASKS- See Also:
-
WORKER_RANGE_START
public static final int WORKER_RANGE_START- See Also:
-
WORKER_RANGE_END
public static final int WORKER_RANGE_END- See Also:
-
HANA_1
public static final int HANA_1- See Also:
-
EXPECTING_NO_LOCK
public static final boolean EXPECTING_NO_LOCK- See Also:
-
EXPECTING_LOCK
public static final boolean EXPECTING_LOCK- See Also:
-
NODE_GROUP
- See Also:
-
-
Constructor Details
-
HanaTasksQueueGatewayTest
public HanaTasksQueueGatewayTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
shouldLockTableOnGettingTasksWhenHana1IsUsedWithNodeGroups
public void shouldLockTableOnGettingTasksWhenHana1IsUsedWithNodeGroups() -
shouldNotLockTableOnGettingTasksWhenHana2IsUsedWithNodeGroups
public void shouldNotLockTableOnGettingTasksWhenHana2IsUsedWithNodeGroups() -
shouldNotLockTableOnGettingTasksWhenHana1IsUsedWithoutNodeGroups
public void shouldNotLockTableOnGettingTasksWhenHana1IsUsedWithoutNodeGroups() -
shouldNotLockTableOnGettingTasksWhenHana2IsUsedWithoutNodeGroups
public void shouldNotLockTableOnGettingTasksWhenHana2IsUsedWithoutNodeGroups() -
shouldNotLockTableOnGettingTasksWhenHana1IsUsedWithNodeGroupsAndDisabledByProperty
public void shouldNotLockTableOnGettingTasksWhenHana1IsUsedWithNodeGroupsAndDisabledByProperty()
-