mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-30 16:05:51 +00:00
Shutdown rippled before http server in json rpc test to avoid http server potentially receiving messages due to automatic ledger close interval.
This commit is contained in:
committed by
Vinnie Falco
parent
123c482a69
commit
83442825e5
@@ -50,10 +50,10 @@ function build_teardown() {
|
||||
return function (done) {
|
||||
var self = this;
|
||||
|
||||
self.server.close(function () {
|
||||
// console.log("server closed");
|
||||
|
||||
teardown.call(self, done);
|
||||
teardown.call(self, function () {
|
||||
self.server.close(function () {
|
||||
done();
|
||||
});
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user