jangala-dev / jangala-dev/devicecode-lua

Cap SDK tests fail

オープン
#326 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

主要言語
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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

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

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