Skip to content

Commit 285b2b1

Browse files
committed
Tune unit test timing to avoid race condition that fails the test when the machine is slow
1 parent 4f7333e commit 285b2b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/darwin/Framework/CHIPTests/MTRDeviceTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -3715,7 +3715,7 @@ - (void)test036_TestStorageBehaviorConfiguration
37153715
timeBetweenReportsTooShortThreshold:baseTestDelayTime * 0.4
37163716
timeBetweenReportsTooShortMinThreshold:baseTestDelayTime * 0.2
37173717
reportToPersistenceDelayMaxMultiplier:baseTestDelayTime * 5
3718-
deviceReportingExcessivelyIntervalThreshold:baseTestDelayTime * 10];
3718+
deviceReportingExcessivelyIntervalThreshold:baseTestDelayTime * 7];
37193719
[device setStorageBehaviorConfiguration:config];
37203720

37213721
[device setDelegate:delegate queue:queue];

0 commit comments

Comments
 (0)