Skip to content

Commit 4120460

Browse files
update tests
1 parent cf77a67 commit 4120460

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app/tests/TestReadInteraction.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,6 +847,8 @@ void TestReadInteraction::TestReadHandlerSetMaxReportingInterval()
847847
kMaxIntervalCeiling =
848848
std::chrono::duration_cast<System::Clock::Seconds16>(ICDConfigurationData::GetInstance().GetIdleModeDuration()).count();
849849
#endif
850+
851+
#if CHIP_CONFIG_ENABLE_ICD_LIT
850852
// Try to change the MaxInterval while ReadHandler is active
851853
EXPECT_EQ(readHandler.SetMaxReportingInterval(340), CHIP_ERROR_INCORRECT_STATE);
852854

@@ -890,6 +892,7 @@ void TestReadInteraction::TestReadHandlerSetMaxReportingInterval()
890892

891893
readHandler.GetReportingIntervals(minInterval, maxInterval);
892894
EXPECT_EQ(readHandler.GetPublisherSelectedIntervalLimit(), maxInterval);
895+
#endif // CHIP_CONFIG_ENABLE_ICD_LIT
893896
}
894897

895898
engine->Shutdown();

0 commit comments

Comments
 (0)