Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Starting Equinox in junit test
Starting Equinox in junit test [message #635784] Thu, 28 October 2010 06:32
Oliver Pfau is currently offline Oliver PfauFriend
Messages: 28
Registered: July 2009
Junior Member
Hi,

I have some bundles running in equinox. Now I want to write a junit test after building the bundles which tests if equinox is starting and all bundles are running.
Started equinox like this:

Runtime.getRuntime().exec("java -jar org.eclipse.osgi_3.5.0.v20090520.jar -console 34566", null, execDir);

I send the command "ss -s active" via java telnet client (apache) to check if all bundles are active. But it seems that equinox getting blocked if I send something via telnet.

Without telnet communication equinox runs and all bundles are active.

Has someone used equinox console communication in a junit test already? How have you done it?

Regards,
Oliver
Previous Topic:can't install new software
Next Topic:Bundle Question
Goto Forum:
  


Current Time: Thu Apr 18 08:30:25 GMT 2024

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

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

Back to the top