Search in sources :

Example 1 with NoopJournal

use of org.graylog2.shared.journal.NoopJournal in project graylog2-server by Graylog2.

the class BlockingBatchedESOutputTest method setUp.

@Before
public void setUp() throws Exception {
    this.metricRegistry = new MetricRegistry();
    this.journal = new NoopJournal();
    this.config = new Configuration() {

        @Override
        public int getOutputBatchSize() {
            return 3;
        }
    };
}
Also used : Configuration(org.graylog2.Configuration) NoopJournal(org.graylog2.shared.journal.NoopJournal) MetricRegistry(com.codahale.metrics.MetricRegistry) Before(org.junit.Before)

Aggregations

MetricRegistry (com.codahale.metrics.MetricRegistry)1 Configuration (org.graylog2.Configuration)1 NoopJournal (org.graylog2.shared.journal.NoopJournal)1 Before (org.junit.Before)1