make main brain build cleanly again

This commit is contained in:
Jonathan Shook 2020-12-05 22:38:05 -06:00
commit 784638380f
2 changed files with 17 additions and 10 deletions

View File

@ -4,13 +4,21 @@
The latest release of NoSQLBench is always available from github releases.
- download [the latest release of nb](https://github.com/nosqlbench/nosqlbench/releases/latest/download/nb), a linux
binary
-
download [the latest release of nb](https://github.com/nosqlbench/nosqlbench/releases/latest/download/nb)
, a linux binary
- To download it with curl,
use `curl -L -O https://github.com/nosqlbench/nosqlbench/releases/latest/download/nb`
.
- (be sure to `chmod +x nb` once you download it)
- download [the latest release of nb.jar](https://github.com/nosqlbench/nosqlbench/releases/latest/download/nb.jar), a
single-jar application.
- This requires java 15 or later, make sure your `java -version
` command says that you are on Java 15 or later.
-
download [the latest release of nb.jar](https://github.com/nosqlbench/nosqlbench/releases/latest/download/nb.jar)
, a single-jar application.
- This requires java 15 or later, make sure your `java -version`
command says that you are on Java 15 or later.
- To download it with curl,
use `curl -L -O https://github.com/nosqlbench/nosqlbench/releases/latest/download/nb.jar`
.
## Docker

View File

@ -1,6 +1,5 @@
package io.nosqlbench.nb.api.config;
import io.nosqlbench.nb.api.config.Synonyms;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
@ -13,10 +12,10 @@ public class SynonymsTest {
StringBuilder sb = new StringBuilder();
String result = Synonyms.canonicalize(before, Synonyms.PARAM_SYNONYMS,
(s, s2) -> sb.append("replaced ").append(s).append(" with ").append(s2).append("\n"));
assertThat(result).isEqualTo("test workload ayamlfoo driver btype typea cyclerate");
assertThat(result).isEqualTo("test workload ayamlfoo driver btype typea rate");
assertThat(sb.toString()).isEqualTo("replaced type with driver\n" +
"replaced targetrate with cyclerate\n" +
"replaced yaml with workload\n");
"replaced targetrate with rate\n" +
"replaced yaml with workload\n");
}
}