jangala-dev / jangala-dev/devicecode-lua
Cap SDK tests fail
オープン
まだ誰も着手していません。
- 主要言語
- Lua
- スター
- 1
- フォーク
- 0
- 平均マージ
- 6日 8時間
- マージ済み PR(30日)
- 6
説明
Failure summary:
- unit.hal.sdk_cap_spec :: cap_sdk_curated_listener_accepts_available_status_payload [0.001s]
./unit/hal/sdk_cap_spec.lua:60: attempt to call method 'wait_for_cap' (a nil value) - unit.hal.sdk_cap_spec :: cap_sdk_curated_listener_accepts_available_true_payload [0.002s]
./unit/hal/sdk_cap_spec.lua:88: attempt to call method 'wait_for_cap' (a nil value) - unit.hal.sdk_cap_spec :: cap_sdk_curated_listener_ignores_removed_status_payload [0.001s]
./unit/hal/sdk_cap_spec.lua:116: attempt to call method 'wait_for_cap' (a nil value) - unit.hal.sdk_cap_spec :: cap_sdk_raw_host_listener_and_ref_follow_raw_host_topics [0.003s]
./unit/hal/sdk_cap_spec.lua:146: attempt to call method 'wait_for_cap' (a nil value) - unit.hal.sdk_cap_spec :: cap_sdk_raw_member_listener_and_ref_follow_raw_member_topics [0.003s]
./unit/hal/sdk_cap_spec.lua:220: attempt to call method 'wait_for_cap' (a nil value) - unit.update.test_active_policy :: test_artifact_missing_stage_resume_moves_mcu_job_to_reconcile [0.000s]
./unit/update/test_active_policy.lua:7: expected awaiting_return, got staging - unit.update.test_active_policy :: test_artifact_missing_stage_resume_without_identity_still_fails [0.000s]
./unit/update/test_active_policy.lua:7: expected failed, got staging
make: *** [Makefile:93: test] Error 1
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
make test を実行し、unit/hal/sdk_cap_spec.lua と unit/update/test_active_policy.lua から始めて、記載された失敗に注目します。不足している wait_for_cap メソッドと、想定外の staging 状態が対象です。これらのテストの期待値を関連する実装までたどり、その後、影響を受けるテストと make test を再実行します。記載された失敗がすべて通れば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- lua
- 領域
- embedded-iot, testing
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 活発
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 45/100