Issue 123142 - many autotests time out while saving temporary documents
Summary: many autotests time out while saving temporary documents
Status: CLOSED FIXED
Alias: None
Product: QA
Classification: Unclassified
Component: testscripts (show other issues)
Version: 4.0.0
Hardware: All All
: P3 Normal
Target Milestone: 4.1.0
Assignee: hdu@apache.org
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-29 14:44 UTC by hdu@apache.org
Modified: 2014-04-01 12:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description hdu@apache.org 2013-08-29 14:44:12 UTC
Many autotests use a pattern
    deleteFile(saveTo);
    saveAs(saveTo);
when writing temporary documents, typical examples being
- fvt.gui.sd.headerandfooter.DocumentWithHeaderFooter
- fvt.gui.sc.sort.SortDialogSetting

They then often fail the saveAs step with a timeout because the race condition between the file deletion and the document saving results in a message box "The file has been changed since it was opened for editing in %PRODUCTNAME. Saving your version of the document will overwrite changes made by others.\n\nDo you want to save anyway?" and this message box is waiting for input and never gets it.
Comment 1 SVN Robot 2013-08-29 15:02:25 UTC
"hdu" committed SVN revision 1518666 into trunk:
#i123142# handle "file changed by others" msgbox in autotests
Comment 2 hdu@apache.org 2013-08-29 15:04:22 UTC
Fixed with the commit above.
Comment 3 hdu@apache.org 2014-04-01 12:30:03 UTC
Closing the resolved issue.