Bug 518733 - test_getActiveShell sporadically fails on Gtk3
Summary: test_getActiveShell sporadically fails on Gtk3
Status: CLOSED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.8   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Leo Ufimtsev CLA
QA Contact:
URL: https://etherpad.openstack.org/p/Ecli...
Whiteboard:
Keywords: test, triaged
Depends on:
Blocks:
 
Reported: 2017-06-23 17:04 EDT by Leo Ufimtsev CLA
Modified: 2017-12-06 14:13 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Ufimtsev CLA 2017-06-23 17:04:17 EDT
When I run the test suite, test_getActiveShell() sometimes fails. 
Then when I run the test on it's own, it passes.

I investigated and believe the drainEventQueue() call is cause of this issue.

I've replaced the call with a different mechanism and it makes the test stable. I'll submit shortly.
Comment 1 Alexander Kurtakov CLA 2017-12-06 05:16:55 EST
Leo, I no longer see this issue. Do you still see it?
Comment 2 Leo Ufimtsev CLA 2017-12-06 14:13:12 EST
I haven't run non-Browser related jUnits in like a loooong time. But Eric says that this used to be a problem but hasn't come up in a long time.
Comment 3 Leo Ufimtsev CLA 2017-12-06 14:13:39 EST
no longer an issue.