diff --git a/src/darwin/Framework/CHIPTests/CHIPClustersTests.m b/src/darwin/Framework/CHIPTests/CHIPClustersTests.m index f94c3422a567f1..065dfb5c91545c 100644 --- a/src/darwin/Framework/CHIPTests/CHIPClustersTests.m +++ b/src/darwin/Framework/CHIPTests/CHIPClustersTests.m @@ -27,15 +27,10 @@ #import "CHIPTestKeys.h" #import "CHIPTestStorage.h" -#import - -#import // For INFINITY - // system dependencies #import const uint16_t kPairingTimeoutInSeconds = 10; -const uint16_t kAddressResolveTimeoutInSeconds = 10; const uint16_t kCASESetupTimeoutInSeconds = 30; const uint16_t kTimeoutInSeconds = 20; const uint64_t nodeId = 0x12344321; @@ -45,19 +40,9 @@ NSString * kAddress = @"::1"; static uint16_t kTestVendorId = 0xFFF1u; -// This test suite reuses a device object to speed up the test process for CI. -// The following global variable holds the reference to the device object. -static CHIPDevice * mConnectedDevice; - // Singleton controller we use. static CHIPDeviceController * sController = nil; -CHIPDevice * GetConnectedDevice(void) -{ - XCTAssertNotNil(mConnectedDevice); - return mConnectedDevice; -} - @interface CHIPToolPairingDelegate : NSObject @property (nonatomic, strong) XCTestExpectation * expectation; @end