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

Gaetan Boismal
23.31.2016 89b5b79c113717a7267e2205d173fe31f97653cd
OPENDJ-3040 Fix script friendly xxxrate headers

Revert script friendly xxxrate tool headers to the SDK-3.0.0 version because units were missing and this will prevent break of client application scripts.
2 files modified
16 ■■■■ changed files
opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/StatsThread.java 14 ●●●● patch | view | raw | blame | history
opendj-ldap-toolkit/src/test/java/com/forgerock/opendj/ldap/tools/AuthRateITCase.java 2 ●●● patch | view | raw | blame | history
opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/StatsThread.java
@@ -158,16 +158,16 @@
        @Override
        MultiColumnPrinter createPrinter() {
            final List<MultiColumnPrinter.Column> columns = new ArrayList<>();
            columns.add(column(TIME_NOW, "time", 3));
            columns.add(column(RECENT_THROUGHPUT, "recent throughput", 1));
            columns.add(column(AVERAGE_THROUGHPUT, "average throughput", 1));
            columns.add(column(RECENT_RESPONSE_TIME_MS, "recent response time", 3));
            columns.add(column(AVERAGE_RESPONSE_TIME_MS, "average response time", 3));
            columns.add(column(TIME_NOW, "Time (seconds)", 3));
            columns.add(column(RECENT_THROUGHPUT, "Recent throughput (ops/second)", 1));
            columns.add(column(AVERAGE_THROUGHPUT, "Average throughput (ops/second)", 1));
            columns.add(column(RECENT_RESPONSE_TIME_MS, "Recent response time (milliseconds)", 3));
            columns.add(column(AVERAGE_RESPONSE_TIME_MS, "Average response time (milliseconds)", 3));
            for (double percentile : percentiles) {
                columns.add(column(
                        PERCENTILES + percentile, percentile + "% response time", 2));
                        PERCENTILES + percentile, percentile + "% response time (milliseconds)", 2));
            }
            columns.add(column(ERROR_PER_SECOND, "errors/second", 1));
            columns.add(column(ERROR_PER_SECOND, "Errors/second", 1));
            columns.addAll(registerAdditionalColumns());
opendj-ldap-toolkit/src/test/java/com/forgerock/opendj/ldap/tools/AuthRateITCase.java
@@ -30,7 +30,7 @@
@SuppressWarnings("javadoc")
public class AuthRateITCase extends ToolsITCase {
    private static final String THROUGHPUT_TEXT = "recent throughput";
    private static final String THROUGHPUT_TEXT = "Recent throughput (ops/second)";
    @DataProvider
    public Object[][] authRateArgs() throws Exception {