jangala-dev / jangala-dev/devicecode-lua
Cap SDK tests fail
- Ngôn ngữ chính
- Lua
- Star
- 1
- Fork
- 0
- Merge trung bình
- 6 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 6
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Chạy make test và bắt đầu với unit/hal/sdk_cap_spec.lua và unit/update/test_active_policy.lua, tập trung vào các lỗi được liệt kê: thiếu phương thức wait_for_cap và các trạng thái staging không mong đợi. Truy tìm các kỳ vọng của những bài kiểm thử đó đến phần triển khai liên quan, sau đó chạy lại các bài kiểm thử bị ảnh hưởng và make test; hoàn tất khi tất cả các lỗi được liệt kê đều vượt qua.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- lua
- Lĩnh vực
- embedded-iot, testing
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 45/100