Mercurial > stress-tester
changeset 1167:b1c2cc159e9c
minor
author | Devel 1 |
---|---|
date | Tue, 16 Jun 2020 12:24:52 +0200 |
parents | 6b12314c35e5 |
children | 5119482979a5 |
files | stress-tester/pom.xml stress-tester/src/main/java/com/passus/st/emitter/socket/DatagramConnection.java stress-tester/src/main/java/com/passus/st/emitter/socket/SocketConnection.java stress-tester/src/main/java/com/passus/st/metric/CsvMetricsCollectionAppender.java |
diffstat | 4 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/stress-tester/pom.xml Tue Jun 16 10:19:22 2020 +0200 +++ b/stress-tester/pom.xml Tue Jun 16 12:24:52 2020 +0200 @@ -159,7 +159,7 @@ <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> - <version>2.6.2</version> + <version>2.7</version> </dependency> <dependency>
--- a/stress-tester/src/main/java/com/passus/st/emitter/socket/DatagramConnection.java Tue Jun 16 10:19:22 2020 +0200 +++ b/stress-tester/src/main/java/com/passus/st/emitter/socket/DatagramConnection.java Tue Jun 16 12:24:52 2020 +0200 @@ -51,6 +51,7 @@ return false; } + @Override public void connect() { ConnectionParams connParams = getConnParams(sessionInfo, handler); if (connParams == null) {
--- a/stress-tester/src/main/java/com/passus/st/emitter/socket/SocketConnection.java Tue Jun 16 10:19:22 2020 +0200 +++ b/stress-tester/src/main/java/com/passus/st/emitter/socket/SocketConnection.java Tue Jun 16 12:24:52 2020 +0200 @@ -20,7 +20,6 @@ import static com.passus.net.utils.AddressUtils.jdkSocketToSocketAddress; import static com.passus.net.utils.AddressUtils.socketAddressToJdkSocket; -import static com.passus.st.emitter.SessionMapper.ANY_SOCKET; public class SocketConnection extends Connection {
--- a/stress-tester/src/main/java/com/passus/st/metric/CsvMetricsCollectionAppender.java Tue Jun 16 10:19:22 2020 +0200 +++ b/stress-tester/src/main/java/com/passus/st/metric/CsvMetricsCollectionAppender.java Tue Jun 16 12:24:52 2020 +0200 @@ -139,6 +139,8 @@ this.file = new File(dir, metricName + ".csv"); if (!file.exists()) { + LOGGER.debug("Creating file: " + file.getAbsolutePath()); + file.getParentFile().mkdirs(); if (!file.createNewFile()) { throw new IOException("Unable to create file '" + file + "' "); }