When running the newly enabled WhiteboardKarafTest (see PAXWEB-987) in pax-web-itest-karaf, some tests fail in an unpredictable way: in one run the tests succeed, in the next they fail.
Some results from Maven:
The error seems to be caused by some failure during servlet-registration
actually this issue is solely related to
we still have one "blinking" test ... need to investigate.
ok, the blinking test seems to be because of timing issue when pax-web receives a re-configuration in the karaf use-case.
The application isn't full up and running because of a re-configuration, while the test already fires. A slightly higher waiting for the serletlistener to show up may help