diff --git a/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml index 9ec033367b58ae..de45188e72fe21 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml @@ -38,13 +38,13 @@ tests: - name: "optionOverride" value: 1 - - label: "Wait 10ms" + - label: "Wait 100ms" cluster: "DelayCommands" command: "WaitForMs" arguments: values: - name: "ms" - value: 10 + value: 100 - label: "reads current Level attribute from DUT" command: "readAttribute" @@ -65,13 +65,13 @@ tests: - name: "optionOverride" value: 1 - - label: "Wait 100ms" + - label: "Wait 200ms" cluster: "DelayCommands" command: "WaitForMs" arguments: values: - name: "ms" - value: 100 + value: 200 - label: "reads current Level attribute from DUT" command: "readAttribute" @@ -98,13 +98,13 @@ tests: - name: "optionOverride" value: 1 - - label: "Wait 1ms" + - label: "Wait 10ms" cluster: "DelayCommands" command: "WaitForMs" arguments: values: - name: "ms" - value: 1 + value: 10 - label: "reads current Level attribute from DUT" command: "readAttribute" @@ -125,10 +125,10 @@ tests: - name: "optionOverride" value: 1 - - label: "Wait 10ms" + - label: "Wait 100ms" cluster: "DelayCommands" command: "WaitForMs" arguments: values: - name: "ms" - value: 10 + value: 100 diff --git a/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml index c0f3ae95c095f8..47698730c50b20 100644 --- a/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml @@ -44,13 +44,13 @@ tests: - name: "optionOverride" value: 1 - - label: "Wait 2500ms" + - label: "Wait 3000ms" cluster: "DelayCommands" command: "WaitForMs" arguments: values: - name: "ms" - value: 2500 + value: 3000 - label: "reads current level attribute from DUT" command: "readAttribute" @@ -77,13 +77,13 @@ tests: - name: "optionOverride" value: 1 - - label: "Wait 2500ms" + - label: "Wait 3000ms" cluster: "DelayCommands" command: "WaitForMs" arguments: values: - name: "ms" - value: 2500 + value: 3000 - label: "reads current level attribute from DUT" command: "readAttribute" @@ -118,13 +118,13 @@ tests: - name: "optionOverride" value: 1 - - label: "Wait 10ms" + - label: "Wait 100ms" cluster: "DelayCommands" command: "WaitForMs" arguments: values: - name: "ms" - value: 10 + value: 100 - label: "reads current level attribute from DUT" command: "readAttribute" diff --git a/src/darwin/Framework/CHIPTests/CHIPClustersTests.m b/src/darwin/Framework/CHIPTests/CHIPClustersTests.m index 51d447316916da..5d0a2a2f3299f8 100644 --- a/src/darwin/Framework/CHIPTests/CHIPClustersTests.m +++ b/src/darwin/Framework/CHIPTests/CHIPClustersTests.m @@ -6743,10 +6743,10 @@ - (void)testSendClusterTest_TC_LVL_2_1_000001_MoveToLevel } - (void)testSendClusterTest_TC_LVL_2_1_000002_WaitForMs { - XCTestExpectation * expectation = [self expectationWithDescription:@"Wait 10ms"]; + XCTestExpectation * expectation = [self expectationWithDescription:@"Wait 100ms"]; dispatch_queue_t queue = dispatch_get_main_queue(); - WaitForMs(expectation, queue, 10); + WaitForMs(expectation, queue, 100); [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } - (void)testSendClusterTest_TC_LVL_2_1_000003_ReadAttribute @@ -6799,10 +6799,10 @@ - (void)testSendClusterTest_TC_LVL_2_1_000004_MoveToLevel } - (void)testSendClusterTest_TC_LVL_2_1_000005_WaitForMs { - XCTestExpectation * expectation = [self expectationWithDescription:@"Wait 100ms"]; + XCTestExpectation * expectation = [self expectationWithDescription:@"Wait 200ms"]; dispatch_queue_t queue = dispatch_get_main_queue(); - WaitForMs(expectation, queue, 100); + WaitForMs(expectation, queue, 200); [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } - (void)testSendClusterTest_TC_LVL_2_1_000006_ReadAttribute @@ -6876,10 +6876,10 @@ - (void)testSendClusterTest_TC_LVL_2_1_000008_MoveToLevel } - (void)testSendClusterTest_TC_LVL_2_1_000009_WaitForMs { - XCTestExpectation * expectation = [self expectationWithDescription:@"Wait 1ms"]; + XCTestExpectation * expectation = [self expectationWithDescription:@"Wait 10ms"]; dispatch_queue_t queue = dispatch_get_main_queue(); - WaitForMs(expectation, queue, 1); + WaitForMs(expectation, queue, 10); [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } - (void)testSendClusterTest_TC_LVL_2_1_000010_ReadAttribute @@ -6932,10 +6932,10 @@ - (void)testSendClusterTest_TC_LVL_2_1_000011_MoveToLevel } - (void)testSendClusterTest_TC_LVL_2_1_000012_WaitForMs { - XCTestExpectation * expectation = [self expectationWithDescription:@"Wait 10ms"]; + XCTestExpectation * expectation = [self expectationWithDescription:@"Wait 100ms"]; dispatch_queue_t queue = dispatch_get_main_queue(); - WaitForMs(expectation, queue, 10); + WaitForMs(expectation, queue, 100); [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } @@ -7010,10 +7010,10 @@ - (void)testSendClusterTest_TC_LVL_3_1_000002_Move } - (void)testSendClusterTest_TC_LVL_3_1_000003_WaitForMs { - XCTestExpectation * expectation = [self expectationWithDescription:@"Wait 2500ms"]; + XCTestExpectation * expectation = [self expectationWithDescription:@"Wait 3000ms"]; dispatch_queue_t queue = dispatch_get_main_queue(); - WaitForMs(expectation, queue, 2500); + WaitForMs(expectation, queue, 3000); [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } - (void)testSendClusterTest_TC_LVL_3_1_000004_ReadAttribute @@ -7087,10 +7087,10 @@ - (void)testSendClusterTest_TC_LVL_3_1_000006_Move } - (void)testSendClusterTest_TC_LVL_3_1_000007_WaitForMs { - XCTestExpectation * expectation = [self expectationWithDescription:@"Wait 2500ms"]; + XCTestExpectation * expectation = [self expectationWithDescription:@"Wait 3000ms"]; dispatch_queue_t queue = dispatch_get_main_queue(); - WaitForMs(expectation, queue, 2500); + WaitForMs(expectation, queue, 3000); [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } - (void)testSendClusterTest_TC_LVL_3_1_000008_ReadAttribute @@ -7185,10 +7185,10 @@ - (void)testSendClusterTest_TC_LVL_3_1_000011_Move } - (void)testSendClusterTest_TC_LVL_3_1_000012_WaitForMs { - XCTestExpectation * expectation = [self expectationWithDescription:@"Wait 10ms"]; + XCTestExpectation * expectation = [self expectationWithDescription:@"Wait 100ms"]; dispatch_queue_t queue = dispatch_get_main_queue(); - WaitForMs(expectation, queue, 10); + WaitForMs(expectation, queue, 100); [self waitForExpectationsWithTimeout:kTimeoutInSeconds handler:nil]; } - (void)testSendClusterTest_TC_LVL_3_1_000013_ReadAttribute diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index da2c2fd8c8b867..6c68afa67a552d 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -10926,8 +10926,8 @@ class Test_TC_LVL_2_1 : public TestCommand err = TestSendsAMoveToLevelCommand_1(); break; case 2: - ChipLogProgress(chipTool, " ***** Test Step 2 : Wait 10ms\n"); - err = TestWait10ms_2(); + ChipLogProgress(chipTool, " ***** Test Step 2 : Wait 100ms\n"); + err = TestWait100ms_2(); break; case 3: ChipLogProgress(chipTool, " ***** Test Step 3 : reads current Level attribute from DUT\n"); @@ -10938,8 +10938,8 @@ class Test_TC_LVL_2_1 : public TestCommand err = TestSendsAMoveToLevelCommand_4(); break; case 5: - ChipLogProgress(chipTool, " ***** Test Step 5 : Wait 100ms\n"); - err = TestWait100ms_5(); + ChipLogProgress(chipTool, " ***** Test Step 5 : Wait 200ms\n"); + err = TestWait200ms_5(); break; case 6: ChipLogProgress(chipTool, " ***** Test Step 6 : reads current Level attribute from DUT\n"); @@ -10954,8 +10954,8 @@ class Test_TC_LVL_2_1 : public TestCommand err = TestSendsAMoveToLevelCommand_8(); break; case 9: - ChipLogProgress(chipTool, " ***** Test Step 9 : Wait 1ms\n"); - err = TestWait1ms_9(); + ChipLogProgress(chipTool, " ***** Test Step 9 : Wait 10ms\n"); + err = TestWait10ms_9(); break; case 10: ChipLogProgress(chipTool, " ***** Test Step 10 : reads current Level attribute from DUT\n"); @@ -10966,8 +10966,8 @@ class Test_TC_LVL_2_1 : public TestCommand err = TestResetLevelTo0_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Wait 10ms\n"); - err = TestWait10ms_12(); + ChipLogProgress(chipTool, " ***** Test Step 12 : Wait 100ms\n"); + err = TestWait100ms_12(); break; } @@ -11092,7 +11092,7 @@ class Test_TC_LVL_2_1 : public TestCommand void OnSuccessResponse_1() { NextTest(); } - CHIP_ERROR TestWait10ms_2() { return WaitForMs(10); } + CHIP_ERROR TestWait100ms_2() { return WaitForMs(100); } CHIP_ERROR TestReadsCurrentLevelAttributeFromDut_3() { @@ -11138,7 +11138,7 @@ class Test_TC_LVL_2_1 : public TestCommand void OnSuccessResponse_4() { NextTest(); } - CHIP_ERROR TestWait100ms_5() { return WaitForMs(100); } + CHIP_ERROR TestWait200ms_5() { return WaitForMs(200); } CHIP_ERROR TestReadsCurrentLevelAttributeFromDut_6() { @@ -11200,7 +11200,7 @@ class Test_TC_LVL_2_1 : public TestCommand void OnSuccessResponse_8() { NextTest(); } - CHIP_ERROR TestWait1ms_9() { return WaitForMs(1); } + CHIP_ERROR TestWait10ms_9() { return WaitForMs(10); } CHIP_ERROR TestReadsCurrentLevelAttributeFromDut_10() { @@ -11246,7 +11246,7 @@ class Test_TC_LVL_2_1 : public TestCommand void OnSuccessResponse_11() { NextTest(); } - CHIP_ERROR TestWait10ms_12() { return WaitForMs(10); } + CHIP_ERROR TestWait100ms_12() { return WaitForMs(100); } }; class Test_TC_LVL_3_1 : public TestCommand @@ -11292,8 +11292,8 @@ class Test_TC_LVL_3_1 : public TestCommand err = TestSendsAMoveUpCommand_2(); break; case 3: - ChipLogProgress(chipTool, " ***** Test Step 3 : Wait 2500ms\n"); - err = TestWait2500ms_3(); + ChipLogProgress(chipTool, " ***** Test Step 3 : Wait 3000ms\n"); + err = TestWait3000ms_3(); break; case 4: ChipLogProgress(chipTool, " ***** Test Step 4 : reads current level attribute from DUT\n"); @@ -11308,8 +11308,8 @@ class Test_TC_LVL_3_1 : public TestCommand err = TestSendsAMoveDownCommand_6(); break; case 7: - ChipLogProgress(chipTool, " ***** Test Step 7 : Wait 2500ms\n"); - err = TestWait2500ms_7(); + ChipLogProgress(chipTool, " ***** Test Step 7 : Wait 3000ms\n"); + err = TestWait3000ms_7(); break; case 8: ChipLogProgress(chipTool, " ***** Test Step 8 : reads current level attribute from DUT\n"); @@ -11328,8 +11328,8 @@ class Test_TC_LVL_3_1 : public TestCommand err = TestSendsAMoveUpCommandAtDefaultMoveRate_11(); break; case 12: - ChipLogProgress(chipTool, " ***** Test Step 12 : Wait 10ms\n"); - err = TestWait10ms_12(); + ChipLogProgress(chipTool, " ***** Test Step 12 : Wait 100ms\n"); + err = TestWait100ms_12(); break; case 13: ChipLogProgress(chipTool, " ***** Test Step 13 : reads current level attribute from DUT\n"); @@ -11509,7 +11509,7 @@ class Test_TC_LVL_3_1 : public TestCommand void OnSuccessResponse_2() { NextTest(); } - CHIP_ERROR TestWait2500ms_3() { return WaitForMs(2500); } + CHIP_ERROR TestWait3000ms_3() { return WaitForMs(3000); } CHIP_ERROR TestReadsCurrentLevelAttributeFromDut_4() { @@ -11571,7 +11571,7 @@ class Test_TC_LVL_3_1 : public TestCommand void OnSuccessResponse_6() { NextTest(); } - CHIP_ERROR TestWait2500ms_7() { return WaitForMs(2500); } + CHIP_ERROR TestWait3000ms_7() { return WaitForMs(3000); } CHIP_ERROR TestReadsCurrentLevelAttributeFromDut_8() { @@ -11648,7 +11648,7 @@ class Test_TC_LVL_3_1 : public TestCommand void OnSuccessResponse_11() { NextTest(); } - CHIP_ERROR TestWait10ms_12() { return WaitForMs(10); } + CHIP_ERROR TestWait100ms_12() { return WaitForMs(100); } CHIP_ERROR TestReadsCurrentLevelAttributeFromDut_13() {