mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-22 16:56:40 -06:00
doc phrasing updates
This commit is contained in:
parent
0ce2f6356f
commit
24d485fdb0
@ -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");
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user