mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-23 07:34:31 -06:00
make main brain build cleanly again
This commit is contained in:
commit
784638380f
20
DOWNLOADS.md
20
DOWNLOADS.md
@ -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
|
||||
|
||||
|
@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user