added _runsInTestMode class attribute
This commit is contained in:
parent
ca06437c1c
commit
00ef9cd60d
|
@ -62,6 +62,7 @@ module.exports = class Conversion {
|
|||
? +this._config.max_db_connection_pool_size
|
||||
: 10;
|
||||
|
||||
this._runsInTestMode = false;
|
||||
this._maxDbConnectionPoolSize = this._maxDbConnectionPoolSize > 0 ? this._maxDbConnectionPoolSize : 10;
|
||||
this._loaderMaxOldSpaceSize = this._config.loader_max_old_space_size;
|
||||
this._loaderMaxOldSpaceSize = this.isIntNumeric(this._loaderMaxOldSpaceSize) ? this._loaderMaxOldSpaceSize : 'DEFAULT';
|
||||
|
|
|
@ -292,7 +292,8 @@ module.exports = class TestSchemaProcessor {
|
|||
.then(config => this._app.readExtraConfig(config, baseDir))
|
||||
.then(this._app.initializeConversion)
|
||||
.then(conversion => {
|
||||
this._conversion = conversion;
|
||||
this._conversion = conversion;
|
||||
this._conversion._runsInTestMode = true;
|
||||
return Promise.resolve(conversion);
|
||||
})
|
||||
.then(this.createTestSourceDb.bind(this))
|
||||
|
|
Loading…
Reference in a new issue