Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » SWTBot shells number grow after each test
SWTBot shells number grow after each test [message #767593] Sun, 18 December 2011 12:42 Go to next message
Ortal  is currently offline Ortal Friend
Messages: 2
Registered: December 2011
Junior Member
Hello,

We have been working with SWTBot for a while to automate our eclipse environment and we have a few problems that we're trying to solve.

We've noticed that after each test the number of open shells (GXSWTWorkbenchBot().shells()) is growing, after each test there are 3-4 new shells that don't contain text (shell.getText()) and we suspect that SWTBot opens this shells We're not sure it is the cause for our problems but we would like to know if you have any idea why this is happening and if we can do something about it.

In addition we saw that after running 70 tests (with ~550 opened shells) on a VM, the OS doesn't allocate resources for our tests anymore, causing the tests to crash.

Thanks in advance,
Ortal
Re: SWTBot shells number grow after each test [message #768020 is a reply to message #767593] Mon, 19 December 2011 12:16 Go to previous message
Ortal  is currently offline Ortal Friend
Messages: 2
Registered: December 2011
Junior Member
After a check we found that some of our shells weren't disposed properly and caused to our tests to crush.

one of the option to find problems like this is to use the sleak plugin to analyze where resources are created

FYI

Ortal
Previous Topic:Can't access main "Project" menu after selecting project in view
Next Topic:accessing the StatusLineManager
Goto Forum:
  


Current Time: Fri Apr 19 02:39:53 GMT 2024

Powered by FUDForum. Page generated in 0.01618 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top