Description
New Issue Checklist
- Report security issues confidentially.
- Any contribution is under this license.
- Before posting search existing issues.
Issue Description
The test suite in this repo and in the JS SDK both have flaky tests. I believe this is due to the asyncronous nature of starting the server instance.
await ParseServer.startApp(newConfiguration);
I think the issue is after the promise resolves the server is still initializing. #8232
Parse.Query testing dontSelect query without conditions
- Unhandled promise rejection: ParseError: 111 Invalid server state: initialized,ParseError: 111 Invalid server state: initialized,ParseError: 111 Invalid server state: initialized,ParseError: 111 Invalid server state: initialized,ParseError: 111 Invalid server state: initialized
Steps to reproduce
I can't reproduce this locally
Actual Outcome
Tests fail
Expected Outcome
Test Pass