Bug 314439 - [efs][testing] testDeleteSpecialCases runs into test failures on Linux
Summary: [efs][testing] testDeleteSpecialCases runs into test failures on Linux
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.2 RC3   Edit
Assignee: Martin Oberhuber CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on: 314448 314433 314461
Blocks: 247908
  Show dependency tree
 
Reported: 2010-05-26 07:43 EDT by Martin Oberhuber CLA
Modified: 2010-05-26 14:16 EDT (History)
0 users

See Also:


Attachments
patch fixing the issue (5.79 KB, patch)
2010-05-26 10:17 EDT, Martin Oberhuber CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2010-05-26 07:43:18 EDT
Build ID: TM 3.2rc2 on Linux-GTK-RHEL-4

RSEFileStoreTest#testDeleteSpecialCases() runs into two test failures - one on the RSE "local" file system and one on Eclipse EFS.
Comment 1 Martin Oberhuber CLA 2010-05-26 10:17:12 EDT
Created attachment 169995 [details]
patch fixing the issue

Attached patch fixes the issue, and also improves cleaning up after unittests (tearDown method) and a failure waiting for a remote operation.

The underlying problem of the test failures was that if a parent folder is not accessible, the RSE "local" file system as well as the Eclipse EFS file system do not throw an exception as expected when deleting such a folder fails. Tests have been disabled for these cases for now, and bugs have been logged.
Comment 2 Martin Oberhuber CLA 2010-05-26 10:24:23 EDT
Committed, released > I20100526.