NO-JIRA Speeding up tests
When it comes to the testsuite, we don't need timed buffers kicking too much. This should bring some speed for our testsuite
This commit is contained in:
parent
d77edb82a7
commit
21af85bd94
|
@ -476,6 +476,9 @@ public abstract class ActiveMQTestBase extends Assert {
|
|||
protected ConfigurationImpl createBasicConfig(final int serverID) {
|
||||
ConfigurationImpl configuration = new ConfigurationImpl().setSecurityEnabled(false).setJournalMinFiles(2).setJournalFileSize(100 * 1024).setJournalType(getDefaultJournalType()).setJournalDirectory(getJournalDir(serverID, false)).setBindingsDirectory(getBindingsDir(serverID, false)).setPagingDirectory(getPageDir(serverID, false)).setLargeMessagesDirectory(getLargeMessagesDir(serverID, false)).setJournalCompactMinFiles(0).setJournalCompactPercentage(0).setClusterPassword(CLUSTER_PASSWORD).setJournalDatasync(false);
|
||||
|
||||
// When it comes to the testsuite, we don't need any batching, I will leave some minimal batching to exercise the codebase
|
||||
configuration.setJournalBufferTimeout_AIO(100).setJournalBufferTimeout_NIO(100);
|
||||
|
||||
return configuration;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue