copy to tests: cancel query with only 1 connection
This commit is contained in:
parent
42a94a3b6c
commit
7e593bb3c9
@ -46,6 +46,15 @@ function countInsertedRows (host, port, callback) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
describe('Cancel "copy to" commands', function () {
|
describe('Cancel "copy to" commands', function () {
|
||||||
|
before(function() {
|
||||||
|
this.db_pool_size = global.settings.db_pool_size;
|
||||||
|
global.settings.db_pool_size = 1;
|
||||||
|
});
|
||||||
|
|
||||||
|
after(function() {
|
||||||
|
global.settings.db_pool_size = this.db_pool_size;
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
beforeEach(function (done) {
|
beforeEach(function (done) {
|
||||||
this.listener = server.listen(0, '127.0.0.1');
|
this.listener = server.listen(0, '127.0.0.1');
|
||||||
|
Loading…
Reference in New Issue
Block a user