jangala-dev / jangala-dev/devicecode-lua

Cap SDK tests fail

未關閉
#326 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Lua
星號
1
分支
0
平均合併
6 天 8 小時
30 天內合併 PR
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

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

執行 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 摘要。