Package de.hybris.platform.test
Class BroadcastServiceTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.test.BroadcastServiceTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class BroadcastServiceTest extends HybrisJUnit4Test
TestUDPBroadcastMethod
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 Constructor Description BroadcastServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testInvalidationViaUDP()
void
testLoopBackMethod()
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.void
testOneLargeUDPPacket()
void
testRandomPacketSizesAndPacketAmounts()
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
testLoopBackMethod
public void testLoopBackMethod() throws java.net.UnknownHostException, java.lang.InterruptedException
- Throws:
java.net.UnknownHostException
java.lang.InterruptedException
-
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
public void testOneLargeUDPPacket() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
testRandomPacketSizesAndPacketAmounts
public void testRandomPacketSizesAndPacketAmounts() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
-