[AS7-6647] OSGI tests failing intermittently

https://issues.jboss.org/browse/AS7-6647