one_process_test: window-placement checks answer 'pending' when the test host is busy

オープン 初心者向け
#1,129 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
82/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
testing

調査の方向性

tests/apps/one_process_test.pyから始め、名前が挙げられている2つのウィンドウ配置チェックを調べて、ウィンドウがマップされているかどうかをどのように確認しているかを把握してください。テストを実行して現在の動作を確認し、その後、時間制限付きでマッピングを待つようにチェックを変更してください。両方のチェックがマッピングを待ち、ウィンドウがマップされなければその制限時間内に失敗することを完了条件とします。

索引モデルが issue の本文から書いたものです。

説明

bug

Two checks in tests/apps/one_process_test.py fail now and then on a loaded host:

  • "the Organizer's preferences, find and properties windows are transient for the main window, inside it and mapped";
  • "a dialog opened with the Builder's hidden frame as parent is transient for the Organizer".

Both fail because the hook answers pending for the last window: the window has not been mapped yet when the test asks. Seen on three branches that do not touch this code (wip/1063-stage3 8514f245e, wip/1123-mac-log-alert 57568347c) while beryllium ran 2–3 suites at once. Every other run passed.

The test should poll until the window is mapped, with a time limit, instead of reading once.

主要言語
C
スター
10
フォーク
8
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

FriendsofECCE/ECCE のほかの issue

FriendsofECCE/ECCE の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。