Package test.java.titan.manual
Class WorkerScriptIntegrationTest
java.lang.Object
test.java.titan.manual.WorkerScriptIntegrationTest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprivate static voidprivate static StringsendCommand(String text) private static voidverifyLogs(String serviceId, String expectedContent) private static void
-
Field Details
-
TEST_PORT
private static final int TEST_PORT- See Also:
-
UDP_PORT
private static final int UDP_PORT- See Also:
-
-
Constructor Details
-
WorkerScriptIntegrationTest
public WorkerScriptIntegrationTest()
-
-
Method Details
-
main
- Throws:
InterruptedException
-
runTestScenario
- Throws:
Exception
-
sendCommand
- Throws:
IOException
-
verifyUdp
- Throws:
Exception
-
verifyLogs
private static void verifyLogs(String serviceId, String expectedContent) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-