Mercurial > stress-tester
changeset 849:022eb9aac397
ClientConfigurator bugfix
author | Devel 2 |
---|---|
date | Tue, 23 Jan 2018 13:52:29 +0100 |
parents | adce7f619e22 |
children | ecc2247b5254 |
files | stress-tester/src/main/java/com/passus/st/config/ClientConfigurator.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/config/ClientConfigurator.java Tue Jan 23 13:47:30 2018 +0100 +++ b/stress-tester/src/main/java/com/passus/st/config/ClientConfigurator.java Tue Jan 23 13:52:29 2018 +0100 @@ -64,11 +64,11 @@ clients = new ArrayList<>(4); } - if (!clients.isEmpty()) { + if (clients.isEmpty()) { clients.add(createDefaultClient()); } - context.add(ConfigurationContextConsts.CLIENT_CLIENTS, config.get("clients")); + context.add(ConfigurationContextConsts.CLIENT_CLIENTS, clients); } catch (Exception e) { throw new RuntimeException(e.getMessage(), e); }