git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1462346 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Timothy A. Bish 2013-03-28 23:12:48 +00:00
parent f7f294f059
commit 14b91d41b5
1 changed files with 8 additions and 2 deletions

View File

@ -143,8 +143,14 @@ public class FailoverTransactionTest extends TestSupport {
}
public void initCombosForTestFailoverCommitReplyLost() {
addCombinationValues("defaultPersistenceAdapter",
new Object[]{PersistenceAdapterChoice.KahaDB, PersistenceAdapterChoice.LevelDB, PersistenceAdapterChoice.JDBC});
String osName = System.getProperty("os.name");
Object[] persistenceAdapters;
if (!osName.equalsIgnoreCase("AIX") && !osName.equalsIgnoreCase("SunOS")) {
persistenceAdapters = new Object[]{PersistenceAdapterChoice.KahaDB, PersistenceAdapterChoice.LevelDB, PersistenceAdapterChoice.JDBC};
} else {
persistenceAdapters = new Object[]{PersistenceAdapterChoice.KahaDB, PersistenceAdapterChoice.JDBC};
}
addCombinationValues("defaultPersistenceAdapter",persistenceAdapters);
}
@SuppressWarnings("unchecked")