Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1.13 KB

readme.md

File metadata and controls

22 lines (14 loc) · 1.13 KB

RandomStartup

A very simple OSGi bundle that provides a Felix Shell command to start all non-active bundles in a random, but reproducible manner. I use it to test the robustness of OSGi-based applications, in particular to root out startup-dependencies between bundles.

You can download this as a precompiled bundle.

Installation

After installation, a new Apache Felix Shell command will be available, startrandom.

Usage

startrandom <seed>

will start all bundles which are currently not ACTIVE in a random order. The <seed> you pass in is the seed for the randomizer, so, for a framework in the same state (same bundles, installed with same ids, and the same bundles active), you can reproduce the startup order.

The project

The project is an Eclipse project based on Bndtools; you should be able to import it into an Eclipse with the Bndtools plugin installed, and start building right away.