diff --git a/nb-api/src/main/java/io/nosqlbench/nb/api/engine/activityimpl/CyclesSpec.java b/nb-api/src/main/java/io/nosqlbench/nb/api/engine/activityimpl/CyclesSpec.java index 2a1dd951f..c5edc8ddc 100644 --- a/nb-api/src/main/java/io/nosqlbench/nb/api/engine/activityimpl/CyclesSpec.java +++ b/nb-api/src/main/java/io/nosqlbench/nb/api/engine/activityimpl/CyclesSpec.java @@ -28,9 +28,9 @@ public record CyclesSpec(long first_inclusive, long last_exclusive, String first if (first_inclusive>last_exclusive) { throw new InvalidParameterException("cycles must start with a lower first cycle than last cycle"); } - if (first_inclusive==last_exclusive) { - logger.warn("This cycles interval means zero total:" + this); - } +// if (first_inclusive==last_exclusive) { +// logger.warn("This cycles interval means zero total:" + this); +// } } public static CyclesSpec parse(String spec) { diff --git a/nb-api/src/main/java/io/nosqlbench/nb/api/engine/activityimpl/ParameterMap.java b/nb-api/src/main/java/io/nosqlbench/nb/api/engine/activityimpl/ParameterMap.java index c92922249..29d7beedf 100644 --- a/nb-api/src/main/java/io/nosqlbench/nb/api/engine/activityimpl/ParameterMap.java +++ b/nb-api/src/main/java/io/nosqlbench/nb/api/engine/activityimpl/ParameterMap.java @@ -181,9 +181,9 @@ public class ParameterMap extends ConcurrentHashMap implements B public void set(String paramName, Object newValue) { - if (paramName.equals("cycles")) { - logger.warn("Setting 'cycles' on the parameter map is likely causing a bug in your activity. Call setCycles on the def instead."); - } +// if (paramName.equals("cycles")) { +// logger.warn("Setting 'cycles' on the parameter map is likely causing a bug in your activity. Call setCycles on the def instead."); +// } super.put(paramName, String.valueOf(newValue)); logger.info(() -> "setting param " + paramName + "=" + newValue); markMutation();