mcvsubbu commented on a change in pull request #6828: URL: https://github.com/apache/incubator-pinot/pull/6828#discussion_r620728373
########## File path: pinot-integration-tests/src/test/java/org/apache/pinot/compat/tests/CompatibilityOpsRunner.java ########## @@ -35,15 +38,17 @@ private CompatibilityOpsRunner(String configFileName, int generationNumber) { } private boolean runOps() throws Exception { - String filePath = ROOT_DIR + "/" + _configFileName; - InputStream inputStream = getClass().getClassLoader().getResourceAsStream(filePath); + Path path = Paths.get(_configFileName); + _parentDir = path.getParent().toString(); + InputStream inputStream = Files.newInputStream(path); ObjectMapper om = new ObjectMapper(new YAMLFactory()); CompatTestOperation operation = om.readValue(inputStream, CompatTestOperation.class); - System.out.println("Running compat verifications from file:" + filePath + "(" + operation.getDescription() + ")"); + System.out.println("Running compat verifications from file:" + path.toString() + "(" + operation.getDescription() + ")"); Review comment: log info -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org