Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324702 - testwait < 2 milliseconds causes freeze
Summary: testwait < 2 milliseconds causes freeze
Status: NEW
Alias: None
Product: OSEE
Classification: Technology
Component: OSEE Test Environment (OTE) (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 0.9.5   Edit
Assignee: Walter Vorhees CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-07 17:40 EDT by Walter Vorhees CLA
Modified: 2011-03-28 15:39 EDT (History)
0 users

See Also:


Attachments
prevents freeze when testwait < 2 milliseconds (903 bytes, patch)
2010-09-07 17:42 EDT, Walter Vorhees CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Vorhees CLA 2010-09-07 17:40:07 EDT
Build Identifier: 0.9.5

If a testscript calls the TestScript.testWait(int milliseconds) with a wait time of less than 2 milliseconds, the test will freeze.  This probably caused by the environment being unable to respond that quickly.  Should return from testwait without trying to set any timers in this case.

Reproducible: Always

Steps to Reproduce:
Run any testscript with a testwait < 2 milliseconds
Comment 1 Walter Vorhees CLA 2010-09-07 17:42:43 EDT
Created attachment 178365 [details]
prevents freeze when testwait < 2 milliseconds

This patch just returns from testWait() when wait time is
less than 2 milliseconds.  Should close this bug