diff --git a/engine-api/src/main/java/io/nosqlbench/engine/api/activityimpl/SimpleActivity.java b/engine-api/src/main/java/io/nosqlbench/engine/api/activityimpl/SimpleActivity.java index 5378d4280..ac99ebee7 100644 --- a/engine-api/src/main/java/io/nosqlbench/engine/api/activityimpl/SimpleActivity.java +++ b/engine-api/src/main/java/io/nosqlbench/engine/api/activityimpl/SimpleActivity.java @@ -321,7 +321,7 @@ public class SimpleActivity implements Activity, ProgressCapable { if (stride>0 && (cycleCount % stride) != 0) { logger.warn("The stride does not evenly divide cycles. Only full strides will be executed," + - "leaving some cycles unused."); + "leaving some cycles unused. (stride=" + stride + ", cycles=" + cycleCount + ")"); } Optional threadSpec = activityDef.getParams().getOptionalString("threads"); diff --git a/engine-api/src/test/java/io/nosqlbench/engine/api/util/SSLKsFactoryTest.java b/engine-api/src/test/java/io/nosqlbench/engine/api/util/SSLKsFactoryTest.java index 7fcef152c..e21ea84a3 100644 --- a/engine-api/src/test/java/io/nosqlbench/engine/api/util/SSLKsFactoryTest.java +++ b/engine-api/src/test/java/io/nosqlbench/engine/api/util/SSLKsFactoryTest.java @@ -17,11 +17,10 @@ package io.nosqlbench.engine.api.util; -import java.io.FileNotFoundException; - +import io.nosqlbench.engine.api.activityimpl.ActivityDef; import org.junit.Test; -import io.nosqlbench.engine.api.activityimpl.ActivityDef; +import java.io.FileNotFoundException; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatExceptionOfType; @@ -141,8 +140,8 @@ public class SSLKsFactoryTest { }; ActivityDef activityDef = ActivityDef.parseActivityDef(String.join(";", params)); assertThatExceptionOfType(RuntimeException.class) - .isThrownBy(() -> SSLKsFactory.get().getContext(activityDef)) - .withMessageMatching("Unable to init KeyManagerFactory. Please check."); + .isThrownBy(() -> SSLKsFactory.get().getContext(activityDef)) + .withMessageMatching("Unable to init KeyManagerFactory. Please check.*"); } @Test