mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
include examples and fix error message
This commit is contained in:
parent
8799d287a6
commit
172ef0847d
@ -122,7 +122,8 @@ public class NBCLIScenarioParser {
|
|||||||
if (nameparts.length==1) {
|
if (nameparts.length==1) {
|
||||||
Map<String, String> namedScenario = scenarios.getNamedScenario(scenarioName);
|
Map<String, String> namedScenario = scenarios.getNamedScenario(scenarioName);
|
||||||
if (namedScenario==null) {
|
if (namedScenario==null) {
|
||||||
throw new BasicError("Named step '" + scenarioName + "' was not found.");
|
throw new BasicError("Unable to find named scenario '" + scenarioName + "' in workload '" + workloadName
|
||||||
|
+ "', but you can pick from one of: " + String.join(", ", scenarios.getScenarioNames()));
|
||||||
}
|
}
|
||||||
namedSteps.putAll(namedScenario);
|
namedSteps.putAll(namedScenario);
|
||||||
} else {
|
} else {
|
||||||
|
@ -89,9 +89,9 @@
|
|||||||
<resource>
|
<resource>
|
||||||
<directory>src/main/resources</directory>
|
<directory>src/main/resources</directory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>examples</include>
|
<include>examples/**</include>
|
||||||
<include>scripts</include>
|
<include>scripts/**</include>
|
||||||
<include>**.md</include>
|
<include>**/*.md</include>
|
||||||
</includes>
|
</includes>
|
||||||
<filtering>false</filtering>
|
<filtering>false</filtering>
|
||||||
</resource>
|
</resource>
|
||||||
|
Loading…
Reference in New Issue
Block a user