Skip to content

Commit da49303

Browse files
committed
Make partition test not flake on old node
1 parent 958388a commit da49303

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/pg/test/integration/client/network-partition-tests.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ var Server = function (response) {
1111
this.response = response
1212
}
1313

14+
let port = 54321
1415
Server.prototype.start = function (cb) {
1516
// this is our fake postgres server
1617
// it responds with our specified response immediatley after receiving every buffer
@@ -39,7 +40,7 @@ Server.prototype.start = function (cb) {
3940
}.bind(this)
4041
)
4142

42-
var port = 54321
43+
port = port + 1
4344

4445
var options = {
4546
host: 'localhost',

0 commit comments

Comments
 (0)