Bug 27120 - [tests] Some history store tests failing - need more time for files to expire
Summary: [tests] Some history store tests failing - need more time for files to expire
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2002-11-25 14:21 EST by Debbie Wilson CLA
Modified: 2004-06-04 13:54 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Debbie Wilson CLA 2002-11-25 14:21:21 EST
Under the test class: 
org.eclipse.core.tests.resources/org.eclipse.core.tests.internal.localstore/His
toryStoreTest.java
the tests
- testAddStateAndPolicies (assert 3.4) and
- testClean (assert 5.1)
the asserts listed fail.  The file states should expire after 10 seconds but 
on my machine, I have to wait 12 seconds for them to expire (i.e. I have to 
change the line:
		Thread.sleep(1000 * 10); // sleep for 10 seconds
to read:
		Thread.sleep(1000 * 12); // sleep for 10 seconds
on my machine for these tests to succeed).

Is this an XP specific problem?  Trouble with my particular machine?  Phase of 
the moon?
Comment 1 DJ Houghton CLA 2004-06-04 13:54:54 EDT
Stale bug...closing.