@IntegrationTest public class BroadcastServiceTest extends HybrisJUnit4Test
UDPBroadcastMethod by causing a item modification and listening to the message by creating a second
broadcast method instance.defaultLanguage, 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() |
finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic void testLoopBackMethod()
throws UnknownHostException,
InterruptedException
public 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 InterruptedException
InterruptedExceptionpublic void testRandomPacketSizesAndPacketAmounts()
throws InterruptedException
InterruptedExceptionCopyright © 2017 SAP SE. All Rights Reserved.