changeset 983:d3a25b8f596d

FlowExecutorDnsTest bugfix
author Devel 2
date Wed, 14 Aug 2019 14:37:32 +0200
parents ff71b37f293c
children bbb1dfc08cdb
files stress-tester/src/test/java/com/passus/st/client/dns/FlowExecutorDnsTest.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/test/java/com/passus/st/client/dns/FlowExecutorDnsTest.java	Wed Jul 31 14:38:49 2019 +0200
+++ b/stress-tester/src/test/java/com/passus/st/client/dns/FlowExecutorDnsTest.java	Wed Aug 14 14:37:32 2019 +0200
@@ -41,7 +41,7 @@
     @Test
     public void testHandle_DNS() throws Exception {
         SimpleDatagramServer server = new SimpleDatagramServer();
-        server.setPort(53);
+        server.setPort(2000);
         server.setListener(new SimpleDatagramServer.ServerListener() {
             @Override
             public void onDataReceived(Object data, ServerContext context) {
@@ -65,7 +65,7 @@
         List<Event> events = EventUtils.readEvents("pcap/dns/dns_A_req_resp.pcap", props);
         assertEquals(5, events.size());
 
-        NioEmitter emitter = prepareEmitter("192.168.170.20:53 -> localhost:53");
+        NioEmitter emitter = prepareEmitter("192.168.170.20:53 -> localhost:2000");
         emitter.start();
 
         FlowExecutor flowExecutor = new FlowExecutor();