New integration tests:

* New tests for autobridging and freeze
* Discrepancy detection tests
* Don't let Mocha suppress load time errors
This commit is contained in:
Nicholas Dudfield
2014-05-26 18:58:24 +07:00
committed by Nik Bougalis
parent 0848e348bb
commit e14c700c60
16 changed files with 6506 additions and 157 deletions

View File

@@ -96,6 +96,11 @@ function build_setup(opts, host) {
data.server = Server.from_config(host, server_config, !!opts.verbose_server);
// Setting undefined is a noop here
if (data.opts.ledger_file != null) {
data.server.set_ledger_file(data.opts.ledger_file);
};
data.server.once('started', function() {
callback();
});
@@ -164,7 +169,11 @@ function build_teardown(host) {
}
];
async.series(series, done);
if (!opts.no_server && data.server.stopped) {
done()
} else {
async.series(series, done);
}
};
return teardown;