Skip to content

Commit

Permalink
CHAD-14284: Test zigbee health monitoring opt out with zigbee-motion …
Browse files Browse the repository at this point in the history
…and zigbee-contact drivers; commented out `--zigbee_test_utils.init_noop_health_check_timer()` in test config from all tests for Zigbee motion sensor and Zigbee contact sensor
  • Loading branch information
kiera-robinson-st2 committed Dec 11, 2024
1 parent 1e68e95 commit f7eea82
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ local function test_init()
test.mock_device.add_test_device(mock_device_sengled)
test.mock_device.add_test_device(mock_device_nyce)
test.mock_device.add_test_device(mock_device_visonic)
zigbee_test_utils.init_noop_health_check_timer()
--zigbee_test_utils.init_noop_health_check_timer() removal due to change to stop health checks going forward
end

local test_devices = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ local mock_device = test.mock_device.build_test_zigbee_device(
zigbee_test_utils.prepare_zigbee_env_info()
local function test_init()
test.mock_device.add_test_device(mock_device)
zigbee_test_utils.init_noop_health_check_timer()
-- zigbee_test_utils.init_noop_health_check_timer()
end

test.set_test_init_function(test_init)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ local mock_device = test.mock_device.build_test_zigbee_device(
zigbee_test_utils.prepare_zigbee_env_info()
local function test_init()
test.mock_device.add_test_device(mock_device)
zigbee_test_utils.init_noop_health_check_timer()
--zigbee_test_utils.init_noop_health_check_timer() removal due to change to stop health checks going forward
end
test.set_test_init_function(test_init)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ local mock_device = test.mock_device.build_test_zigbee_device(
zigbee_test_utils.prepare_zigbee_env_info()
local function test_init()
test.mock_device.add_test_device(mock_device)
zigbee_test_utils.init_noop_health_check_timer()
--zigbee_test_utils.init_noop_health_check_timer() removal due to change to stop health checks going forward
end

test.set_test_init_function(test_init)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ local mock_device = test.mock_device.build_test_zigbee_device(
zigbee_test_utils.prepare_zigbee_env_info()
local function test_init()
test.mock_device.add_test_device(mock_device)
zigbee_test_utils.init_noop_health_check_timer()
--zigbee_test_utils.init_noop_health_check_timer() removal due to change to stop health checks going forward
end

test.set_test_init_function(test_init)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ local mock_device = test.mock_device.build_test_zigbee_device(
zigbee_test_utils.prepare_zigbee_env_info()
local function test_init()
test.mock_device.add_test_device(mock_device)
zigbee_test_utils.init_noop_health_check_timer()
--zigbee_test_utils.init_noop_health_check_timer() removal due to change to stop health checks going forward
end
test.set_test_init_function(test_init)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ local mock_device = test.mock_device.build_test_zigbee_device(
zigbee_test_utils.prepare_zigbee_env_info()
local function test_init()
test.mock_device.add_test_device(mock_device)
zigbee_test_utils.init_noop_health_check_timer()
--zigbee_test_utils.init_noop_health_check_timer() removal due to change to stop health checks going forward
end
test.set_test_init_function(test_init)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ zigbee_test_utils.prepare_zigbee_env_info()
local function test_init()
test.mock_device.add_test_device(mock_device)
test.mock_device.add_test_device(mock_device_old_firmware)
zigbee_test_utils.init_noop_health_check_timer()
--zigbee_test_utils.init_noop_health_check_timer() removal due to change to stop health checks going forward
end
test.set_test_init_function(test_init)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ local mock_device = test.mock_device.build_test_zigbee_device(
zigbee_test_utils.prepare_zigbee_env_info()
local function test_init()
test.mock_device.add_test_device(mock_device)
zigbee_test_utils.init_noop_health_check_timer()
--zigbee_test_utils.init_noop_health_check_timer() removal due to change to stop health checks going forward
end
test.set_test_init_function(test_init)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ local mock_device = test.mock_device.build_test_zigbee_device(
zigbee_test_utils.prepare_zigbee_env_info()
local function test_init()
test.mock_device.add_test_device(mock_device)
zigbee_test_utils.init_noop_health_check_timer()
--zigbee_test_utils.init_noop_health_check_timer() removal due to change to stop health checks going forward
end
test.set_test_init_function(test_init)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ local mock_device = test.mock_device.build_test_zigbee_device(
zigbee_test_utils.prepare_zigbee_env_info()
local function test_init()
test.mock_device.add_test_device(mock_device)
zigbee_test_utils.init_noop_health_check_timer()
--zigbee_test_utils.init_noop_health_check_timer() removal due to change to stop health checks going forward
end
test.set_test_init_function(test_init)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ local mock_device = test.mock_device.build_test_zigbee_device(
zigbee_test_utils.prepare_zigbee_env_info()
local function test_init()
test.mock_device.add_test_device(mock_device)
zigbee_test_utils.init_noop_health_check_timer()
--zigbee_test_utils.init_noop_health_check_timer() removal due to change to stop health checks going forward
end
test.set_test_init_function(test_init)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ local mock_device = test.mock_device.build_test_zigbee_device(
zigbee_test_utils.prepare_zigbee_env_info()
local function test_init()
test.mock_device.add_test_device(mock_device)
zigbee_test_utils.init_noop_health_check_timer()
--zigbee_test_utils.init_noop_health_check_timer() removal due to change to stop health checks going forward
end
test.set_test_init_function(test_init)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ zigbee_test_utils.prepare_zigbee_env_info()
local function test_init()
test.mock_device.add_test_device(mock_device1)
test.mock_device.add_test_device(mock_device2)
zigbee_test_utils.init_noop_health_check_timer()
--zigbee_test_utils.init_noop_health_check_timer() removal due to change to stop health checks going forward
end
test.set_test_init_function(test_init)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ local mock_device = test.mock_device.build_test_zigbee_device(
zigbee_test_utils.prepare_zigbee_env_info()
local function test_init()
test.mock_device.add_test_device(mock_device)
zigbee_test_utils.init_noop_health_check_timer()
--zigbee_test_utils.init_noop_health_check_timer() removal due to change to stop health checks going forward
end
test.set_test_init_function(test_init)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ local mock_device = test.mock_device.build_test_zigbee_device(
zigbee_test_utils.prepare_zigbee_env_info()
local function test_init()
test.mock_device.add_test_device(mock_device)
zigbee_test_utils.init_noop_health_check_timer()
--zigbee_test_utils.init_noop_health_check_timer() removal due to change to stop health checks going forward
end
test.set_test_init_function(test_init)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ local mock_device = test.mock_device.build_test_zigbee_device(
zigbee_test_utils.prepare_zigbee_env_info()
local function test_init()
test.mock_device.add_test_device(mock_device)
zigbee_test_utils.init_noop_health_check_timer()
--zigbee_test_utils.init_noop_health_check_timer() removal due to change to stop health checks going forward
end
test.set_test_init_function(test_init)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ local mock_device = test.mock_device.build_test_zigbee_device(
zigbee_test_utils.prepare_zigbee_env_info()
local function test_init()
test.mock_device.add_test_device(mock_device)
zigbee_test_utils.init_noop_health_check_timer()
--zigbee_test_utils.init_noop_health_check_timer() removal due to change to stop health checks going forward
end
test.set_test_init_function(test_init)

Expand Down

0 comments on commit f7eea82

Please sign in to comment.