[
https://issues.apache.org/jira/browse/FLINK-2198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14595738#comment-14595738
]
Stephan Ewen commented on FLINK-2198:
-------------------------------------
The approach to disallow folder creation is sued in a couple of tests.
If the {{desktop.ini}} approach works, can you factor those cases into a
utility method that, depending on OS type, applies the respective operation?
If there is no way to simulate read-only directories on Windows, we can change
this tests to not run on Windows systems. Not the perfect fix, but a workaround
for now.
> BlobManager tests fail on Windows
> ---------------------------------
>
> Key: FLINK-2198
> URL: https://issues.apache.org/jira/browse/FLINK-2198
> Project: Flink
> Issue Type: Bug
> Components: Build System, Tests
> Affects Versions: 0.9
> Environment: Windows 8.1, Java 7, Maven 3.3.3
> Reporter: Fabian Hueske
>
> Building Flink on Windows using {{mvn clean install}} fails with the
> following error:
> {code}
> BlobUtilsTest.before:45 null
> BlobUtilsTest.before:45 null
> BlobServerDeleteTest.testDeleteFails:291 null
> BlobLibraryCacheManagerTest.testRegisterAndDownload:196 Could not
> remove write permissions from cache directory
> BlobServerPutTest.testPutBufferFails:224 null
> BlobServerPutTest.testPutNamedBufferFails:286 null
> JobManagerStartupTest.before:55 null
> JobManagerStartupTest.before:55 null
> DataSinkTaskTest.testFailingDataSinkTask:317 Temp output file has
> not been removed
> DataSinkTaskTest.testFailingSortingDataSinkTask:358 Temp output file
> has not been removed
> TaskManagerTest.testSubmitAndExecuteTask**:123 assertion failed:
> timeout (19998080696 nanoseconds) during expectMsgClass waiting for
> class
> org.apache.flink.runtime.messages.RegistrationMessages$RegisterTaskManager
> TaskManagerProcessReapingTest.testReapProcessOnFailure:133
> TaskManager process did not launch the TaskManager properly. Failed to
> look up akka.tcp://[email protected]:50673/user/taskmanager
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)