From 7b45c0dbdccc2c38d6ed6670969a93f39fb4ee59 Mon Sep 17 00:00:00 2001 From: Mathieu Kardous Date: Wed, 8 Nov 2023 11:11:18 -0500 Subject: [PATCH] fix TestIcdManagementCluster test --- src/app/tests/suites/TestIcdManagementCluster.yaml | 6 +++--- .../darwin-framework-tool/zap-generated/test/Commands.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/tests/suites/TestIcdManagementCluster.yaml b/src/app/tests/suites/TestIcdManagementCluster.yaml index 05a5f8ad8fcf08..626945db5e8d11 100644 --- a/src/app/tests/suites/TestIcdManagementCluster.yaml +++ b/src/app/tests/suites/TestIcdManagementCluster.yaml @@ -32,19 +32,19 @@ tests: command: "readAttribute" attribute: "IdleModeDuration" response: - value: 300 + value: 3600 - label: "Read ActiveModeDuration" command: "readAttribute" attribute: "ActiveModeDuration" response: - value: 300 + value: 10000 - label: "Read ActiveModeThreshold" command: "readAttribute" attribute: "ActiveModeThreshold" response: - value: 300 + value: 1000 - label: "Read ICDCounter" command: "readAttribute" diff --git a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h index 76b9d545612a38..b80ef6edda3e8a 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -51015,7 +51015,7 @@ class TestIcdManagementCluster : public TestCommandBridge { { id actualValue = value; - VerifyOrReturn(CheckValue("IdleModeDuration", actualValue, 300UL)); + VerifyOrReturn(CheckValue("IdleModeDuration", actualValue, 3600UL)); } NextTest(); @@ -51038,7 +51038,7 @@ class TestIcdManagementCluster : public TestCommandBridge { { id actualValue = value; - VerifyOrReturn(CheckValue("ActiveModeDuration", actualValue, 300UL)); + VerifyOrReturn(CheckValue("ActiveModeDuration", actualValue, 10000UL)); } NextTest(); @@ -51061,7 +51061,7 @@ class TestIcdManagementCluster : public TestCommandBridge { { id actualValue = value; - VerifyOrReturn(CheckValue("ActiveModeThreshold", actualValue, 300U)); + VerifyOrReturn(CheckValue("ActiveModeThreshold", actualValue, 1000U)); } NextTest();