after some code refactoring during JBIDE-8147 it start to happen sometimes -> nondeterministic junit test fail.