changeset 864:578688902d7c

ReporterConfiguratorTest - linux compat
author Devel 1
date Wed, 24 Jan 2018 12:14:20 +0100
parents 09b03bd0ad00
children 3f2efeebbb6d
files stress-tester/src/test/java/com/passus/st/client/http/ReporterConfiguratorTest.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/test/java/com/passus/st/client/http/ReporterConfiguratorTest.java	Wed Jan 24 11:57:11 2018 +0100
+++ b/stress-tester/src/test/java/com/passus/st/client/http/ReporterConfiguratorTest.java	Wed Jan 24 12:14:20 2018 +0100
@@ -91,7 +91,7 @@
                 + "    threads: 3\n"
                 + "    destinations:\n"
                 + "        - type: file\n"
-                + "          directory: 'c:\\reporter'\n"
+                + "          directory: 'reporter'\n"
                 + "        - type: remote\n"
                 + "        - type: remote\n"
                 + "          host: 1.1.1.2\n"
@@ -110,7 +110,7 @@
         assertEquals(3, destinations.size());
 
         ReporterFileDestination d0 = (ReporterFileDestination) destinations.get(0);
-        assertEquals("c:\\reporter", d0.getDirectory().getAbsolutePath());
+        assertEquals("reporter", d0.getDirectory().getName());
 
         checkRemote((ReporterRemoteDestination) destinations.get(1),
                 SocketReporterClient.DEFAULT_HOST, SocketReporterClient.DEFAULT_PORT, SocketReporterClient.DEFAULT_THREADS);