Status: Accepted
Owner: ----
New issue 1502 by [email protected]: OperatingSystem.Copy File
sometimes fails when destination is removed during operation
http://code.google.com/p/robotframework/issues/detail?id=1502
When destination file is removed during copy operation Copy File fails with
OSError: [Errno 2] No such file or directory: 'destinationfile'
How to reproduce:
run with "pybot --log none --report none suite.txt &"
suite.txt:
*** Settings ***
Library OperatingSystem
*** Test Cases ***
Testaa
:FOR ${i} IN RANGE 10000
\ Copy File source.txt destination.txt
while running remove destination.txt
--> Sometimes error will occur
We need to use an atomic operation to achieve this.
One option would be to use temporary file and then rename it..
This is a problem for our customer.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.