mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
[TEST] thrown error when there are no REST tests to run
This commit is contained in:
parent
238b26a466
commit
56f4fcb5df
@ -336,6 +336,10 @@ public class RestTestSuiteRunner extends ParentRunner<RestTestCandidate> {
|
||||
}
|
||||
}
|
||||
|
||||
if (rootDescription.getChildren().size() == 0) {
|
||||
throw new InitializationError("No tests to run");
|
||||
}
|
||||
|
||||
if (!parseExceptions.isEmpty()) {
|
||||
throw new InitializationError(parseExceptions);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user