pool_test is flaky on OSX 10.9.5
まだ誰も着手していません。
評価
調査の方向性
まず entityx/help/Pool_test.cc を読み、特に 65 行目の TestPoolPointers アサーションを確認してから、報告された不安定性を確認するために make test を繰り返し実行します。報告された macOS と Apple clang の環境でテストが安定して成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
It looks as if pool_test is not 100% reliable, at least not on my mac. Sometimes everything passes, but most of the time there is a single assertion the fails.
-------------------------------------------------------------------------------
TestPoolPointers
-------------------------------------------------------------------------------
/Users/zack/Dev/entityx-build/entityx/help/Pool_test.cc:45
...............................................................................
/Users/zack/Dev/entityx-build/entityx/help/Pool_test.cc:65: FAILED:
REQUIRE( extrapolated_p16 != static_cast<void*>(p16) )
with expansion:
0xb05540d9d67f0000 != 0xb05540d9d67f0000
===============================================================================
3 test cases - 1 failed (13 assertions - 1 failed)
Running make test over and over will yield success sometimes, but failure most of the time. This is built using Apple clang:
-- The C compiler identification is AppleClang 5.0.0.5000279
-- The CXX compiler identification is AppleClang 5.0.0.5000279
I thought that the failures were related to a change I had in a local branch but it turns out that this bejavior is also present in the current master.
- 主要言語
- C++
- スター
- 2.3k
- フォーク
- 300
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
alecthomas/entityx のほかの issue
-
Test Failsオープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
alecthomas/entityx#256 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 32/100
alecthomas/entityx#246 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
alecthomas/entityx#238 · コメント 11 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
alecthomas/entityx#237 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
alecthomas/entityx#227 · コメント 2 件 ·
alecthomas/entityx の issue をすべて見る
似ている issue
-
bug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
26.04 bug dark-mode Easy Hack impress symptom: visual
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
CollaboraOnline/online#16421 · コメント 1 件 ·
-
area/cs bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ydb-platform/ydb#59881 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
documentation enhancement lua server
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100