[
https://issues.apache.org/jira/browse/GEODE-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anthony Baker closed GEODE-373.
-------------------------------
> ProductUseLogJUnitTest testSizeLimit fails with FileNotFoundException on
> Windows
> --------------------------------------------------------------------------------
>
> Key: GEODE-373
> URL: https://issues.apache.org/jira/browse/GEODE-373
> Project: Geode
> Issue Type: Bug
> Affects Versions: 1.0.0-incubating
> Environment: Windows 7 Service Pack 1
> Reporter: Kirk Lund
> Assignee: Anthony Baker
> Priority: Major
> Labels: Windows
>
> This test fails consistently on Windows for me. It reproduces on the
> command-line with gradle as well as in Eclipse. Version of Windows is Windows
> 7 Service Pack 1.
> The stack trace is:
> {noformat}
> com.gemstone.gemfire.distributed.internal.ProductUseLogJUnitTest >
> testSizeLimit FAILED
> com.gemstone.gemfire.GemFireIOException: Could not open log file
> "ProductUseLogTest_testSizeLimit.log".
> at
> com.gemstone.gemfire.distributed.internal.ProductUseLog.createLogWriter(ProductUseLog.java:113)
> at
> com.gemstone.gemfire.distributed.internal.ProductUseLog.clearLog(ProductUseLog.java:104)
> at
> com.gemstone.gemfire.distributed.internal.ProductUseLog.log(ProductUseLog.java:71)
> at
> com.gemstone.gemfire.distributed.internal.ProductUseLogJUnitTest.testSizeLimit(ProductUseLogJUnitTest.java:65)
> Caused by:
> java.io.FileNotFoundException: ProductUseLogTest_testSizeLimit.log (Access is
> denied)
> at java.io.FileOutputStream.open0(Native Method)
> at java.io.FileOutputStream.open(FileOutputStream.java:270)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
> at
> com.gemstone.gemfire.distributed.internal.ProductUseLog.createLogWriter(ProductUseLog.java:110)
> ... 3 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)