JDK-7195063 : [TEST] jtreg flags com/sun/corba/cachedSocket/7056731.sh with Error failure.
  • Type: Bug
  • Component: other-libs
  • Sub-Component: corba:idl
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-08-29
  • Updated: 2013-09-04
  • Resolved: 2012-09-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u40Fixed 8 b56Fixed
Description
A recent corba testcase addition seems to suffer from some jtreg clean up issues on windows systems. The issue is seen only randomly. While the testcase passes, the test hardness (jtreg) flags it as an error due to the log files not being deleted

---------------------------------------------
 com/sun/corba/cachedSocket/7056731.sh
---------------------------------------------

JDK under test: C:\\Users\\aurora\\sandbox\\jdk
warning: failed to delete C:\\Users\\aurora\\sandbox\\gresults\\testoutput\\jdk_misc\\JTwork\\scratch\\client.1432
Test result (overridden): Passed. Execution successful


<snip>
    failed to clean up files after test
    javatestOS=Windows XP 5.1 (x86)


===

Comments
EVALUATION further testing shows that a brief sleep call before and after calling the "rm -rf" command on the log files in question helps.
29-08-2012