You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2020/01/07 18:16:25 UTC

[GitHub] [cassandra] dcapwell commented on a change in pull request #418: CASSANDRA-15489 - Allow end-user to configure dtest jar path

dcapwell commented on a change in pull request #418: CASSANDRA-15489 - Allow end-user to configure dtest jar path
URL: https://github.com/apache/cassandra/pull/418#discussion_r363879962
 
 

 ##########
 File path: test/distributed/org/apache/cassandra/distributed/impl/Versions.java
 ##########
 @@ -168,13 +168,15 @@ public Version getLatest(Major major)
 
     public static Versions find()
     {
-        logger.info("Looking for dtest jars in " + new File("build").getAbsolutePath());
+        final String dtestJarDirectory = System.getProperty("org.apache.cassandra.distributed.test.jar_path","build");
+        final File sourceDirectory = new File(dtestJarDirectory);
 
 Review comment:
   style comment (aka feel free to ignore); could simplify this to be `new File(System.getProperty("org.apache.cassandra.distributed.test.jar_path","build"))`

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org