Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2d20f83

Browse files
committedFeb 4, 2024
Fix unit test.
1 parent 018d207 commit 2d20f83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/darwin/Framework/CHIPTests/MTRPerControllerStorageTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ - (void)test007_TestMultipleControllers
10431043
// startControllerWithRootKeys into a test helper.
10441044
- (void)testControllerServer
10451045
{
1046-
__auto_type queue = dispatch_get_main_queue();
1046+
__auto_type queue = dispatch_queue_create("testControllerServer.queue", DISPATCH_QUEUE_SERIAL);
10471047

10481048
__auto_type * rootKeys = [[MTRTestKeys alloc] init];
10491049
XCTAssertNotNil(rootKeys);

0 commit comments

Comments
 (0)
Please sign in to comment.