LiveQueryServer doesn't shutdown properly #8424
Labels
state:released
Released as stable version
state:released-alpha
Released as alpha version
state:released-beta
Released as beta version
type:bug
Impaired feature or lacking behavior that is likely assumed
New Issue Checklist
Issue Description
There is a flaky test on the JS SDK and I believe it is caused by the liveQueryServer not shutting down when the server shuts down. The server is shutdown but there are still connections to the liveQueryServer. This may have unwanted effects. Also there are flaky tests on the server that could be addressed
https://github.com/parse-community/Parse-SDK-JS/actions/runs/4011772368/jobs/6889651856
Steps to reproduce
startLiveQueryServer: true
configurationserver.handleShutdown()
server.close()
Actual Outcome
LiveQueryServer is still opened
Expected Outcome
LiveQueryServer is closed
Alternatives / Workarounds
In production I use a dedicated live query server instead of the internal configuration which is recommended so I never see this issue.
Environment
Server
6.0.0
Mac
local
Database
Mongo
4.4
local
Client
Javascript
4.0.0
Logs
The text was updated successfully, but these errors were encountered: