[ https://issues.apache.org/jira/browse/IGNITE-20374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Gagarkin updated IGNITE-20374: ----------------------------------- Description: Some tests in the scope of the ItFileTransferTest [downloadFilesWhenDoNotHaveAccessToWrite, downloadNonReadableFiles, uploadFilesWhenDoNotHaveAccessToWrite, uploadNonReadableFiles] fail with the following error: {code:java} java.lang.AssertionError: Expected: a future that completes with an exception that is an instance of org.apache.ignite.internal.network.file.exception.FileTransferException and error message that contains a string containing "Failed to create a file transfer stream" but: was completed successfully java.lang.AssertionError: Expected: a future that completes with an exception that is an instance of org.apache.ignite.internal.network.file.exception.FileTransferException and error message that contains a string containing "Failed to create a file transfer stream" but: was completed successfully{code} The reason of these failures on the Windows platform can be caused by the fact that File.setReadable() method may not work as is. {quote}A convenience method to set the owner's read permission for this abstract pathname. On some platforms it may be possible to start the Java virtual machine with special privileges that allow it to read files that are marked as unreadable. {quote} I think these tests can be disabled on Windows using @DisabledOnOs(OS.WINDOWS) was: Some tests in the scope of the ItFileTransferTest [downloadFilesWhenDoNotHaveAccessToWrite, downloadNonReadableFiles, uploadFilesWhenDoNotHaveAccessToWrite, uploadNonReadableFiles] fail with the following error: {{}} {code:java} java.lang.AssertionError: Expected: a future that completes with an exception that is an instance of org.apache.ignite.internal.network.file.exception.FileTransferException and error message that contains a string containing "Failed to create a file transfer stream" but: was completed successfully java.lang.AssertionError: Expected: a future that completes with an exception that is an instance of org.apache.ignite.internal.network.file.exception.FileTransferException and error message that contains a string containing "Failed to create a file transfer stream" but: was completed successfully{code} {{}} The reason of these failures on the Windows platform can be caused by the fact that File.setReadable() method may not work as is. {quote}{{A convenience method to set the owner's read permission for this abstract pathname. On some platforms it may be possible to start the Java virtual machine with special privileges that allow it to read files that are marked as unreadable.}} {quote} I think these tests can be disabled on Windows using @DisabledOnOs(OS.WINDOWS) > ItFileTransferTest fails on Windows > ----------------------------------- > > Key: IGNITE-20374 > URL: https://issues.apache.org/jira/browse/IGNITE-20374 > Project: Ignite > Issue Type: Bug > Reporter: Ivan Gagarkin > Priority: Major > Labels: ignite-3 > > Some tests in the scope of the ItFileTransferTest > [downloadFilesWhenDoNotHaveAccessToWrite, downloadNonReadableFiles, > uploadFilesWhenDoNotHaveAccessToWrite, uploadNonReadableFiles] fail with the > following error: > {code:java} > java.lang.AssertionError: Expected: a future that completes with an exception > that is an instance of > org.apache.ignite.internal.network.file.exception.FileTransferException and > error message that contains a string containing "Failed to create a file > transfer stream" but: was completed successfully java.lang.AssertionError: > Expected: a future that completes with an exception that is an instance of > org.apache.ignite.internal.network.file.exception.FileTransferException and > error message that contains a string containing "Failed to create a file > transfer stream" but: was completed successfully{code} > The reason of these failures on the Windows platform can be caused by the > fact that File.setReadable() method may not work as is. > {quote}A convenience method to set the owner's read permission for this > abstract pathname. > On some platforms it may be possible to start the Java virtual machine with > special privileges > that allow it to read files that are marked as unreadable. > {quote} > I think these tests can be disabled on Windows using @DisabledOnOs(OS.WINDOWS) -- This message was sent by Atlassian Jira (v8.20.10#820010)