Bug 314439

Summary: [efs][testing] testDeleteSpecialCases runs into test failures on Linux
Product: [Tools] Target Management Reporter: Martin Oberhuber <mober.at+eclipse>
Component: RSEAssignee: Martin Oberhuber <mober.at+eclipse>
Status: RESOLVED FIXED QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.2 RC3   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 314448, 314433, 314461    
Bug Blocks: 247908    
Attachments:
Description Flags
patch fixing the issue none

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.