-
-
Notifications
You must be signed in to change notification settings - Fork 596
test: Investigate integration test timeout #2487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks for opening this pull request!
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## alpha #2487 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 64 64
Lines 6256 6256
Branches 1474 1447 -27
=========================================
Hits 6256 6256 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
After further investigation |
This has been closed? |
I closed it because I'm still working on it. Didn't want to keep pinging the community with dozen of commits |
Got it, I think you could also put a PR in draft state, so visitors will know that it doesn't require any action. |
Pull Request
Issue
Trying to narrow down what's causing the following issue. I can't replicate it locally so this is guess work. Everytime this issue happens it when on a test that calls
reconfigureServer
. There are currently 31 test that uses this function. I believe it's stalling in eitherParseServer.handleShutdown
orParseServer.server.close
. I would assumeclose
would be added intoshutdown
but it isn't. There might be something stalling in shutdown too i.e LiveQueryServer.Another place to look is the
afterEach
inhelper.js
as there might be a stall there with deleting all records from the database or logging out user.There is a test case on the Server that if fixed would give a clue on how to solve this issue. Unfortunately it's being skipped.
https://github.com/parse-community/parse-server/blob/4f55c3e9cfa31c6aca9c005ab21ff6193600ba89/spec/ParseServer.spec.js#L47-L49
https://github.com/parse-community/Parse-SDK-JS/actions/runs/13735695802/job/38419094737?pr=2486
Approach
Might have to re-run the CI a few times to see if this issue replicates
Tasks