From be7dd8ff72299abf5e440d9b479f08f32e9ae648 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Mon, 8 May 2023 21:24:59 -0400 Subject: [PATCH] Address phrasing comment. --- src/darwin/Framework/CHIP/MTROperationalCredentialsDelegate.mm | 3 ++- src/darwin/Framework/CHIPTests/MTRDeviceTests.m | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/darwin/Framework/CHIP/MTROperationalCredentialsDelegate.mm b/src/darwin/Framework/CHIP/MTROperationalCredentialsDelegate.mm index 294444d7064c83..79af08e9bfe029 100644 --- a/src/darwin/Framework/CHIP/MTROperationalCredentialsDelegate.mm +++ b/src/darwin/Framework/CHIP/MTROperationalCredentialsDelegate.mm @@ -338,7 +338,8 @@ } } - MTR_LOG_ERROR("Year %lu is too large for Matter epoch time. Please use [NSDate distantFuture] to represent \"never expires\".", + MTR_LOG_ERROR( + "Year %lu is out of range for Matter epoch time. Please use [NSDate distantFuture] to represent \"never expires\".", static_cast(components.year)); return false; } diff --git a/src/darwin/Framework/CHIPTests/MTRDeviceTests.m b/src/darwin/Framework/CHIPTests/MTRDeviceTests.m index 2a444a85ce0e81..00b1aaa9c24c8d 100644 --- a/src/darwin/Framework/CHIPTests/MTRDeviceTests.m +++ b/src/darwin/Framework/CHIPTests/MTRDeviceTests.m @@ -762,6 +762,8 @@ - (void)test010_ReadAllAttribute - (void)test011_ReadCachedAttribute { + // fprintf(stderr, "\n\nPID: %d\n\n\n", getpid()); + // sleep(10); MTRBaseDevice * device = GetConnectedDevice(); dispatch_queue_t queue = dispatch_get_main_queue(); XCTestExpectation * cleanSubscriptionExpectation = [self expectationWithDescription:@"Previous subscriptions cleaned"];