Skip to content

Commit

Permalink
AXON-341 Fix incompatible types error
Browse files Browse the repository at this point in the history
  • Loading branch information
jkallen committed Jul 13, 2016
1 parent 1ea4e45 commit 8dab181
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -16,7 +16,7 @@

package org.axonframework.integrationtests.eventstore.benchmark.mongo;

import com.mongodb.Mongo;
import com.mongodb.MongoClient;
import org.axonframework.common.IdentifierFactory;
import org.axonframework.eventsourcing.eventstore.EmbeddedEventStore;
import org.axonframework.eventsourcing.eventstore.EventStore;
Expand All @@ -32,14 +32,14 @@ public class MongoEventStoreBenchMark extends AbstractEventStoreBenchmark {
private static final IdentifierFactory IDENTIFIER_FACTORY = IdentifierFactory.getInstance();
private EventStore eventStore;

private Mongo mongoDb;
private MongoClient mongoDb;

public static void main(String[] args) throws Exception {
AbstractEventStoreBenchmark benchmark = prepareBenchMark("META-INF/spring/benchmark-mongo-context.xml");
benchmark.startBenchMark();
}

public MongoEventStoreBenchMark(Mongo mongoDb, MongoEventStorageEngine mongoEventStorageEngine) {
public MongoEventStoreBenchMark(MongoClient mongoDb, MongoEventStorageEngine mongoEventStorageEngine) {
this.mongoDb = mongoDb;
this.eventStore = new EmbeddedEventStore(mongoEventStorageEngine);
}
Expand Down

0 comments on commit 8dab181

Please sign in to comment.