doc phrasing updates

This commit is contained in:
Jonathan Shook 2020-09-03 12:11:39 -05:00
parent 0ce2f6356f
commit 24d485fdb0
2 changed files with 5 additions and 6 deletions

View File

@ -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<String> threadSpec = activityDef.getParams().getOptionalString("threads");

View File

@ -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