mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
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:
committed by
Nik Bougalis
parent
0848e348bb
commit
e14c700c60
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user