mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-23 01:06:47 -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) {
|
||||
Map<String, String> namedScenario = scenarios.getNamedScenario(scenarioName);
|
||||
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);
|
||||
} else {
|
||||
|
@ -89,9 +89,9 @@
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<includes>
|
||||
<include>examples</include>
|
||||
<include>scripts</include>
|
||||
<include>**.md</include>
|
||||
<include>examples/**</include>
|
||||
<include>scripts/**</include>
|
||||
<include>**/*.md</include>
|
||||
</includes>
|
||||
<filtering>false</filtering>
|
||||
</resource>
|
||||
|
Loading…
Reference in New Issue
Block a user