parse-community / parse-community/parse-server-example
Failing tests on node 18.x
オープン
まだ誰も着手していません。
type:bug
- 主要言語
- JavaScript
- スター
- 1.9k
- フォーク
- 5.3k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
The provided tests in the example repo are failing on Node 18, due to a jasmine timeout error.
Steps to reproduce:
- Checkout the repository
- Setup node 18.x
- Run tests ->
npm run test
➜ parse-server-example git:(master) ✗ git --no-pager log --oneline -n 1 && node -v && npm -v && npm run test
2d072a6 (HEAD -> master, origin/master, origin/HEAD) docs: update README (#419)
v18.12.1
8.19.2
> parse-server-example@1.4.0 test
> mongodb-runner start && jasmine
◝ Starting a MongoDB deployment to test against...DATABASE_URI not specified, falling back to localhost.
Started
warn: DeprecationWarning: The Parse Server option 'directAccess' default will change to 'true' in a future version. Additionally, the environment variable 'PARSE_SERVER_ENABLE_EXPERIMENTAL_DIRECT_ACCESS' will be deprecated and renamed to 'PARSE_SERVER_DIRECT_ACCESS' in a future version; it is currently possible to use either one.
warn: DeprecationWarning: The Parse Server option 'enforcePrivateUsers' default will change to 'true' in a future version.
..F..
Failures:
1) Parse Server example failing test
Message:
Error: Timeout - Async function did not complete within 5000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL)
Stack:
at <Jasmine>
at listOnTimeout (node:internal/timers:564:17)
at process.processTimers (node:internal/timers:507:7)
Suite error: top suite
Message:
Error: Timeout - Async function did not complete within 5000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL)
Stack:
at <Jasmine>
at listOnTimeout (node:internal/timers:564:17)
at process.processTimers (node:internal/timers:507:7)
5 specs, 2 failures
Finished in 11.087 seconds
➜ parse-server-example git:(master) ✗
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まずリポジトリをチェックアウトし、Node 18.x を使用して npm run test を実行し、Jasmine のタイムアウトを再現します。失敗している example-repo テストとそのテストセットアップを調査し、その後、Node 18 で設定されたタイムアウト以内に 5 つすべての spec がパスすることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, node.js
- 領域
- testing-qa
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100