> On Feb. 8, 2017, 5:02 p.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.

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.


- Jared


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


On Feb. 8, 2017, 3:03 a.m., Jinmei Liao wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/56425/
> -----------------------------------------------------------
> 
> (Updated Feb. 8, 2017, 3:03 a.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