> On Feb. 8, 2017, 9:02 a.m., Kevin Duling wrote:
> > `File.getParentFile()` may return null.  For example, assume your working 
> > directory is "/tmp".  The call to 
> > `File(".").getParentFile().getParentFile()` will return null.
> 
> Jared Stewart wrote:
>     When you are running a test inside the "geode-assembly" module, new 
> File(".") will yield "geode/geode-assembly/." so that calling 
> .getParentFile() twice will give you "geode" (the directory where geode is 
> checked out, probably called "open" for many of us).  This works through 
> IntelliJ and Gradle so it doesn't seem like an issue to me.

I think it should be using GEODE_HOME as `BundledJarsJUnitTest` does.


- Kevin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56425/#review164702
-----------------------------------------------------------


On Feb. 7, 2017, 7:03 p.m., Jinmei Liao wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/56425/
> -----------------------------------------------------------
> 
> (Updated Feb. 7, 2017, 7:03 p.m.)
> 
> 
> Review request for geode, Jared Stewart, Kevin Duling, and Kirk Lund.
> 
> 
> Repository: geode
> 
> 
> Description
> -------
> 
> GEODE-2272: do not use a new method to start locator with pulse
> 
> 
> Diffs
> -----
> 
>   
> geode-assembly/src/test/java/org/apache/geode/tools/pulse/PulseDataExportTest.java
>  b5472909eec8d5ca124e7bfd5c6cb71864d9bbee 
>   
> geode-core/src/test/java/org/apache/geode/test/dunit/rules/LocatorServerStartupRule.java
>  1f0cd9e720e732c2ce06515c16601e1df173ff4f 
> 
> Diff: https://reviews.apache.org/r/56425/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Jinmei Liao
> 
>

Reply via email to