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

未關閉 適合新手
#1,129 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
82/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
python
領域
testing

研究方向

從 tests/apps/one_process_test.py 開始,檢查提到的兩個視窗放置檢查,了解它們如何查詢視窗是否已映射。執行測試以了解目前行為,接著修改檢查,使其在限定時間內輪詢映射狀態。完成條件是兩個檢查都會等待映射;若視窗始終未映射,則會在該時間限制內失敗。

由索引模型根據 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. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

FriendsofECCE/ECCE 的其他 Issue

查看 FriendsofECCE/ECCE 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。