Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324702

Summary: testwait < 2 milliseconds causes freeze
Product: [Technology] OSEE Reporter: Walter Vorhees <walter.vorhees>
Component: OSEE Test Environment (OTE)Assignee: Walter Vorhees <walter.vorhees>
Status: NEW --- QA Contact:
Severity: minor    
Priority: P3    
Version: unspecified   
Target Milestone: 0.9.5   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
prevents freeze when testwait < 2 milliseconds none

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