projects
/
websub-hub
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7fa490
)
fix a postgres-listener test
author
Justin Wind
<justin.wind+git@gmail.com>
Mon, 16 Aug 2021 18:45:50 +0000
(11:45 -0700)
committer
Justin Wind
<justin.wind+git@gmail.com>
Mon, 16 Aug 2021 18:45:50 +0000
(11:45 -0700)
test/src/db/postgres-listener.js
patch
|
blob
|
history
diff --git
a/test/src/db/postgres-listener.js
b/test/src/db/postgres-listener.js
index 7926746ae95fe9e2c5e87e7541ee66c270394ed8..ecd2fe2ce4c06aabb47635c6edae4fcb5df80bfd 100644
(file)
--- a/
test/src/db/postgres-listener.js
+++ b/
test/src/db/postgres-listener.js
@@
-52,10
+52,11
@@
describe('Postgres Listener', function () {
await listener.stop();
});
it('cancels pending reconnect', async function() {
+ this.slow(300);
const pendingReconnect = sinon.stub();
listener.reconnectPending = setTimeout(pendingReconnect, 100);
await listener.stop();
- snooze(110);
+
await
snooze(110);
assert(!pendingReconnect.called);
});
it('closes existing connection', async function () {