parse-community / Parse-SDK-JS

The JavaScript SDK for Parse Platform
https://parseplatform.org
Apache License 2.0
1.31k stars 599 forks source link

ci: Fix flaky test `invalid server state: initialized` #2183

Closed dplewis closed 2 weeks ago

dplewis commented 3 weeks ago

Pull Request

Issue

Attempt to fix flaky tests when the server isn't properly initialized. I believe this is caused by tests that shuts down the server to reproduce a disconnection and restarts. I am unable to reproduce this issue local so the CI should be ran a few times to ensure it works.

Closes: https://github.com/parse-community/parse-server/issues/9149

Approach

parse-github-assistant[bot] commented 3 weeks ago

Thanks for opening this pull request!

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (b50790a) to head (2b03abd). Report is 83 commits behind head on alpha.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## alpha #2183 +/- ## ========================================== Coverage 100.00% 100.00% ========================================== Files 61 64 +3 Lines 6186 6365 +179 Branches 1499 1534 +35 ========================================== + Hits 6186 6365 +179 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

parseplatformorg commented 2 weeks ago

🎉 This change has been released in version 5.2.0-alpha.4

parseplatformorg commented 2 weeks ago

🎉 This change has been released in version 5.2.0-beta.2

parseplatformorg commented 2 weeks ago

🎉 This change has been released in version 5.2.0