mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Gaetan Boismal
23.40.2014 85eed99dc29d3d7c557db102eea9d0441a9c665c
opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/AuthRate.java
@@ -321,9 +321,9 @@
        private BindRequest bindRequest;
        private int invalidCredPercent;
        private BindPerformanceRunner(final ArgumentParser argParser, final ConsoleApplication app)
        private BindPerformanceRunner(final PerformanceRunnerOptions options)
                throws ArgumentException {
            super(argParser, app, true, true, true);
            super(options);
        }
        @Override
@@ -408,9 +408,13 @@
        try {
            setDefaultPerfToolProperties();
            PerformanceRunnerOptions options = new PerformanceRunnerOptions(argParser, this);
            options.setSupportsRebind(false);
            options.setSupportsAsynchronousRequests(false);
            options.setSupportsMultipleThreadsPerConnection(false);
            connectionFactoryProvider = new ConnectionFactoryProvider(argParser, this);
            runner = new BindPerformanceRunner(argParser, this);
            runner = new BindPerformanceRunner(options);
            propertiesFileArgument = CommonArguments.getPropertiesFile();
            argParser.addArgument(propertiesFileArgument);