diff --git a/bosk-mongo/src/test/java/io/vena/bosk/drivers/mongo/SchemaEvolutionTest.java b/bosk-mongo/src/test/java/io/vena/bosk/drivers/mongo/SchemaEvolutionTest.java index 3054ffc1..3d6052e0 100644 --- a/bosk-mongo/src/test/java/io/vena/bosk/drivers/mongo/SchemaEvolutionTest.java +++ b/bosk-mongo/src/test/java/io/vena/bosk/drivers/mongo/SchemaEvolutionTest.java @@ -162,7 +162,7 @@ static final class Helper extends AbstractMongoDriverTest { public Helper(DatabaseFormat preferredFormat, ManifestMode manifestMode) { super(MongoDriverSettings.builder() - .database(SchemaEvolutionTest.class.getSimpleName()) + .database(SchemaEvolutionTest.class.getSimpleName() + "_" + DB_COUNTER.incrementAndGet()) .preferredDatabaseFormat(preferredFormat) .experimental(Experimental.builder() .manifestMode(manifestMode) @@ -181,5 +181,6 @@ public interface Refs { @ReferencePath("/string") Reference string(); } + private static final AtomicInteger DB_COUNTER = new AtomicInteger(0); private static final Logger LOGGER = LoggerFactory.getLogger(SchemaEvolutionTest.class); }