File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff 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 ();
You can’t perform that action at this time.
0 commit comments