changeset 1192:b66616cb2543

minor
author Devel 1
date Thu, 18 Jun 2020 18:12:01 +0200
parents 992a973b37a3
children a197230b7219
files stress-tester/src/main/java/com/passus/st/scanner/HttpUrlSequencePayloadAnalyzer.java stress-tester/src/test/java/com/passus/st/scanner/FlowAnalyzerCommandTest.java
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/scanner/HttpUrlSequencePayloadAnalyzer.java	Thu Jun 18 17:51:09 2020 +0200
+++ b/stress-tester/src/main/java/com/passus/st/scanner/HttpUrlSequencePayloadAnalyzer.java	Thu Jun 18 18:12:01 2020 +0200
@@ -24,7 +24,6 @@
 import java.io.File;
 import java.io.FileInputStream;
 import java.io.FileOutputStream;
-import java.io.FilenameFilter;
 import java.io.InputStreamReader;
 import java.io.IOException;
 import java.io.OutputStreamWriter;
@@ -33,7 +32,6 @@
 import java.util.ArrayList;
 import java.util.Date;
 import java.util.LinkedHashMap;
-import org.apache.commons.io.filefilter.RegexFileFilter;
 
 import static com.passus.config.schema.ConfigurationSchemaBuilder.mapDef;
 import static com.passus.config.schema.ConfigurationSchemaBuilder.tupleDef;
--- a/stress-tester/src/test/java/com/passus/st/scanner/FlowAnalyzerCommandTest.java	Thu Jun 18 17:51:09 2020 +0200
+++ b/stress-tester/src/test/java/com/passus/st/scanner/FlowAnalyzerCommandTest.java	Thu Jun 18 18:12:01 2020 +0200
@@ -18,7 +18,7 @@
         target.deleteOnExit();
         System.out.println("Extracting to " + target.getAbsolutePath());
         FlowAnalyzerCommand.extractEmbeddedScript(target);
-//        assertEquals(25_024, target.length());
+        assertTrue(target.length() > 10240);
     }
 
     public static void main(String[] args) throws Exception {