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 - Error in ;DataShadowBrokenSlownessTest
Summary: Error in ;DataShadowBrokenSlownessTest
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: David Konecny
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2004-10-05 09:48 UTC by pzajac
Modified: 2008-12-22 23:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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