Skip to content

Commit 63d2461

Browse files
committed
test: speed up testClientUpdate() test
1 parent 1424a00 commit 63d2461

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/client.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ function testClientUpdate (t, serverType) {
119119
client.on('error', function (err) { t.error(err) })
120120
client.on('warning', function (err) { t.error(err) })
121121

122-
client.setInterval(2000)
122+
client.setInterval(500)
123123

124124
client.start()
125125

126126
client.once('update', function () {
127-
client.setInterval(2000)
127+
client.setInterval(500)
128128

129-
// after interval (2s), we should get another update
129+
// after interval, we should get another update
130130
client.once('update', function (data) {
131131
// received an update!
132132
t.equal(data.announce, announceUrl)

0 commit comments

Comments
 (0)