Starting Equinox in junit test [message #635784] |
Thu, 28 October 2010 06:32 |
Oliver Pfau 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
|
|
|
Powered by
FUDForum. Page generated in 0.02915 seconds