fixed old distributed tests failing after configuration refactor
@@ -396,9 +396,13 @@ public class OServer {
databases = OrientDBInternal.embedded(this.databaseDirectory, config);
}
} else {
+ try {
+ databases = OrientDBInternal.distributed(this.databaseDirectory, config);
+ } catch (ODatabaseException ex) {
databases = OrientDBInternal.embedded(this.databaseDirectory, config);
}
}
+ }
if (databases instanceof OServerAware) {
((OServerAware) databases).init(this);
