This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 49924

Summary: Error in ;DataShadowBrokenSlownessTest
Product: platform Reporter: pzajac <pzajac>
Component: Data SystemsAssignee: David Konecny <dkonecny>
Status: CLOSED WORKSFORME    
Severity: blocker Keywords: TEST
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description pzajac 2004-10-05 09:48:06 UTC
[win2k, jdk1.5] 
 
test10:

      java.io.IOException: Cannot delete test
folder:
C:\DOCUME~1\tester\LOCALS~1\Temp\fstests\lfstesttest10
	at
org.openide.filesystems.TestUtilHid.destroyLocalFileSystem(TestUtilHid.java:114)
	at
org.openide.loaders.DataShadowBrokenSlownessTest.tearDown(DataShadowBrokenSlownessTest.java:129)
	at
junit.framework.TestCase.runBare(TestCase.java:130)
	at
junit.framework.TestResult$1.protect(TestResult.java:106)
	at
junit.framework.TestResult.runProtected(TestResult.java:124)
	at
junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at
org.netbeans.junit.NbTestCase.run(NbTestCase.java:119)
	at
junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at
org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:176)
	at
org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:127)
	at
org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:41)
Comment 1 David Konecny 2004-10-06 13:06:47 UTC
Could it be possible that you opened some files from folder
C:\DOCUME~1\tester\LOCALS~1\Temp\fstests\lfstesttest10 in an editor?

I experience this failure sometimes just to realize that junit simply
could not delete the folder because a file was opened from the folder.
Closing editor with opened file makes the test pass. If editor is
opened test always fails. Actually it is not test what is failing but
cleanup of the test.
Comment 2 David Konecny 2004-10-11 10:57:51 UTC
OK, I expect that this was user's problem by keeping some file locked.
If that happens also in your xtest harness, please reopen.
Comment 3 pzajac 2004-10-13 09:00:13 UTC
test passed for last 9 builds
Comment 4 David Konecny 2004-11-30 09:31:09 UTC
Fixing yesterday's test failure.

unit/src/org/openide/loaders/DataShadowBrokenSlownessTest.java;
new revision: 1.3; previous revision: 1.2