mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 22:36:20 +00:00
Merge pull request #20239 from rjernst/docs_rest_debugging
Tests: Improve rest suite names and generated test names for docs tests
This commit is contained in:
commit
459e3c15a6
@ -117,7 +117,7 @@ public class RestTestsFromSnippetsTask extends SnippetsTask {
|
||||
|
||||
if (false == test.continued) {
|
||||
current.println('---')
|
||||
current.println("\"$test.start\":")
|
||||
current.println("\"line_$test.start\":")
|
||||
}
|
||||
if (test.skipTest) {
|
||||
current.println(" - skip:")
|
||||
|
@ -155,7 +155,7 @@ public final class FileUtils {
|
||||
@Override
|
||||
public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
|
||||
if (file.toString().endsWith(fileSuffix)) {
|
||||
String groupName = file.toAbsolutePath().getParent().getFileName().toString();
|
||||
String groupName = dir.relativize(file.getParent()).toString();
|
||||
Set<Path> filesSet = files.get(groupName);
|
||||
if (filesSet == null) {
|
||||
filesSet = new HashSet<>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user