@IntegrationTest public class BroadcastServiceTest extends HybrisJUnit4Test
UDPBroadcastMethod by causing a item modification and listening to the message by creating a second
broadcast method instance.jaloSession| Constructor and Description |
|---|
BroadcastServiceTest() |
| Modifier and Type | Method and 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() |
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void testLoopBackMethod()
throws java.net.UnknownHostException,
java.lang.InterruptedException
java.net.UnknownHostExceptionjava.lang.InterruptedExceptionpublic void testInvalidationViaUDP()
public void testMessageSendingQueue()
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.
public void testOneLargeUDPPacket()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void testRandomPacketSizesAndPacketAmounts()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionCopyright © 2018 SAP SE. All Rights Reserved.