mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-11 00:12:04 -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.
|
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)
|
- (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.
|
download [the latest release of nb.jar](https://github.com/nosqlbench/nosqlbench/releases/latest/download/nb.jar)
|
||||||
- This requires java 15 or later, make sure your `java -version
|
, a single-jar application.
|
||||||
` command says that you are on Java 15 or later.
|
- 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
|
## Docker
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
package io.nosqlbench.nb.api.config;
|
package io.nosqlbench.nb.api.config;
|
||||||
|
|
||||||
import io.nosqlbench.nb.api.config.Synonyms;
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import static org.assertj.core.api.Assertions.assertThat;
|
import static org.assertj.core.api.Assertions.assertThat;
|
||||||
@ -13,10 +12,10 @@ public class SynonymsTest {
|
|||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
String result = Synonyms.canonicalize(before, Synonyms.PARAM_SYNONYMS,
|
String result = Synonyms.canonicalize(before, Synonyms.PARAM_SYNONYMS,
|
||||||
(s, s2) -> sb.append("replaced ").append(s).append(" with ").append(s2).append("\n"));
|
(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" +
|
assertThat(sb.toString()).isEqualTo("replaced type with driver\n" +
|
||||||
"replaced targetrate with cyclerate\n" +
|
"replaced targetrate with rate\n" +
|
||||||
"replaced yaml with workload\n");
|
"replaced yaml with workload\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user