mirror of https://github.com/apache/activemq.git
patch some test code: https://issues.apache.org/jira/browse/AMQ-4296
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1462346 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f7f294f059
commit
14b91d41b5
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue