Prepare test data for both CH and MLD algorithms

Leaving log files opened was intentional to avoid missing output
that can appear `child.on('exit',...)`.
With this approach cucumber tests hit locally maximum number
of opened files, because node.js keeps all log files opened.
This commit is contained in:
Michael Krasnyk
2017-03-14 14:45:44 +01:00
parent 6586737835
commit 97c442482d
3 changed files with 8 additions and 28 deletions
+1 -5
View File
@@ -269,14 +269,10 @@ module.exports = function () {
this.writeAndLinkOSM(callback);
});
this.Given(/^the data has been (extract|contract)ed$/, (step, callback) => {
this.Given(/^the data has been (extract|contract|partition|customiz)ed$/, (step, callback) => {
this.reprocess(callback);
});
this.Given(/^the data has been (partition|customiz)ed$/, (step, callback) => {
this.reprocessMLD(callback);
});
this.Given(/^osrm\-routed is stopped$/, (callback) => {
this.OSRMLoader.shutdown(callback);
});