Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JBIDE-13797 fix for delay method to handle tests core mode execution #65

Merged
merged 1 commit into from
Mar 15, 2013

Conversation

dgolovin
Copy link
Member

No description provided.

JobUtils.delay method checks if Display.getCurrent() renurn not null value
and use returned display to delay hold execution. If value is null it
uses Thread.sleep(). Problem is whwn tests are exeuted in core mode without
WorkbenchUI Display.getCurrent() stil returns not null value and sleep
method for returned object can hold execution for a long time.

Check if workbench is running added before trying to get current display to
avoid this problem
@alexeykazakov alexeykazakov merged commit b3315bd into jbosstools:master Mar 15, 2013
@alexeykazakov
Copy link
Contributor

Pushed to master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants