Package de.hybris.platform.test
Class BroadcastServiceTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.test.BroadcastServiceTest
- All Implemented Interfaces:
JaloSessionHolder
Test
UDPBroadcastMethod by causing a item modification and listening to the message by creating a second
broadcast method instance.-
Field Summary
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidTests PLA-8550: whenever the message sending queue was filled up the calling thread did not block for the specified time but got a error immediately.voidvoidMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
BroadcastServiceTest
public BroadcastServiceTest()
-
-
Method Details
-
testLoopBackMethod
-
testInvalidationViaUDP
public void testInvalidationViaUDP() -
testMessageSendingQueue
public void testMessageSendingQueue()Tests PLA-8550: whenever the message sending queue was filled up the calling thread did not block for the specified time but got a error immediately.So the tests tries to send considerably more messages than queue size could allow and tries to get that error again. If the test finished the error must be fixed.
-
testOneLargeUDPPacket
- Throws:
InterruptedException
-
testRandomPacketSizesAndPacketAmounts
- Throws:
InterruptedException
-