private static Collection getEndToEndTestModules()

in tools/ci/paimon-ci-tools/src/main/java/org/apache/paimon/tools/ci/suffixcheck/ScalaSuffixChecker.java [167:176]


    private static Collection<String> getEndToEndTestModules(Path paimonRootPath)
            throws IOException {
        try (Stream<Path> pathStream =
                Files.walk(paimonRootPath.resolve("paimon-e2e-tests"), 5)) {
            return pathStream
                    .filter(path -> path.getFileName().toString().equals("pom.xml"))
                    .map(path -> path.getParent().getFileName().toString())
                    .collect(Collectors.toList());
        }
    }