hazelcast / hazelcast/hazelcast-nodejs-client

CPSessionManagerTest.CPProxySessionManager `acquireSession: should create new session for existing invalid session`

Open
#1,315 1 comment 0 reactions 0 assignees View on GitHub
to-jira Type: Test-Failure
Dominant language
TypeScript
Stars
152
Forks
64
Avg merge
46m
Merged PRs (30d)
3

Description

Fails sometimes and only on windows

```
1) CPSessionManagerTest
CPProxySessionManager
acquireSession: should create new session for existing invalid session:
Uncaught TypeError: Cannot read property 'catch' of undefined
at D:\a\hazelcast-nodejs-client\hazelcast-nodejs-client\lib\proxy\cpsubsystem\CPSessionManager.js:180:25
at Timeout._onTimeout (src\util\Util.ts:211:9)
at listOnTimeout (internal/timers.js:557:17)
at processTimers (internal/timers.js:500:7)

```
`requestHeartbeat` seems to return (not resolve to) undefined somehow.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.