Mercurial > stress-tester
changeset 1194:50ea8e0c97fe
PcapSessionEventSourceTest fixed
author | Devel 1 |
---|---|
date | Mon, 22 Jun 2020 11:42:35 +0200 |
parents | a197230b7219 |
children | 60351a45b0bc |
files | stress-tester/src/test/java/com/passus/st/source/PcapSessionEventSourceTest.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/stress-tester/src/test/java/com/passus/st/source/PcapSessionEventSourceTest.java Fri Jun 19 09:29:24 2020 +0200 +++ b/stress-tester/src/test/java/com/passus/st/source/PcapSessionEventSourceTest.java Mon Jun 22 11:42:35 2020 +0200 @@ -89,6 +89,7 @@ src.setName("pcapSource"); src.setLoops(1); src.setPcapFile(pcapFile.getAbsolutePath()); + src.getAnalyzers().forEach((analyzer) -> analyzer.getPortsRange().add(8080)); ArrayListEventHandler handler = new ArrayListEventHandler(); src.setHandler(handler);