Skip to content

Commit ee7156f

Browse files
committed
(fix) tests for increased max socket limit
1 parent 91d8596 commit ee7156f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/lib/ws2_manager.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ describe('WS2Manager', () => {
124124
const m = new WS2Manager()
125125

126126
m._sockets[0] = {
127-
ws: { getDataChannelCount: () => 35 },
128-
pendingSubscriptions: new Array(30),
127+
ws: { getDataChannelCount: () => 200 },
128+
pendingSubscriptions: new Array(70),
129129
pendingUnsubscriptions: new Array(10)
130130
}
131131

@@ -295,7 +295,7 @@ describe('WS2Manager', () => {
295295
pendingSubscriptions: [],
296296
pendingUnsubscriptions: [],
297297
ws: {
298-
getDataChannelCount: () => 55
298+
getDataChannelCount: () => 255
299299
}
300300
}
301301

0 commit comments

Comments
 (0)