Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions AppFramework/DistantObject/GREYHostBackgroundDistantObject.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ + (instancetype)sharedInstance {
- (instancetype)initOnce {
self = [super init];
if (self) {
dispatch_queue_attr_t queueAttributes =
dispatch_queue_attr_make_with_qos_class(DISPATCH_QUEUE_SERIAL, QOS_CLASS_USER_INITIATED, 0);
dispatch_queue_attr_t queueAttributes = dispatch_queue_attr_make_with_qos_class(
DISPATCH_QUEUE_SERIAL, QOS_CLASS_USER_INTERACTIVE, 0);
_backgroundQueue = dispatch_queue_create("com.google.earlgrey.hostbackground", queueAttributes);
_service = [EDOHostService serviceWithPort:0 rootObject:self queue:_backgroundQueue];
}
Expand Down
4 changes: 3 additions & 1 deletion TestLib/DistantObject/GREYTestApplicationDistantObject.m
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ - (EDOHostService *)service {
_executingQueue = mainQueue;
_service = [EDOHostService serviceWithPort:0 rootObject:self queue:_executingQueue];
} else {
_executingQueue = dispatch_queue_create("com.google.earlgrey.TestDO", DISPATCH_QUEUE_SERIAL);
dispatch_queue_attr_t queueAttributes = dispatch_queue_attr_make_with_qos_class(
DISPATCH_QUEUE_SERIAL, QOS_CLASS_USER_INTERACTIVE, 0);
_executingQueue = dispatch_queue_create("com.google.earlgrey.TestDO", queueAttributes);
_service = [EDOHostService serviceWithPort:0 rootObject:self queue:_executingQueue];
_service.originatingQueues = @[ mainQueue ];
}
Expand Down
4 changes: 2 additions & 2 deletions TestLib/Execution/GREYRemoteExecutor.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ void GREYExecuteAsyncBlockInBackgroundQueue(void (^block)(void), void (^completi
dispatch_once(&token, ^{
// Since the "user" in the test is often initiating requests and waiting on the blocks on the
// main thread, the USER_INITIATED QoS class is used.
dispatch_queue_attr_t queueAttributes =
dispatch_queue_attr_make_with_qos_class(DISPATCH_QUEUE_SERIAL, QOS_CLASS_USER_INITIATED, 0);
dispatch_queue_attr_t queueAttributes = dispatch_queue_attr_make_with_qos_class(
DISPATCH_QUEUE_SERIAL, QOS_CLASS_USER_INTERACTIVE, 0);
appProxyQueue = dispatch_queue_create("com.google.earlgrey.egappproxyqueue", queueAttributes);
[EDOHostService serviceWithPort:0 rootObject:nil queue:appProxyQueue];
});
Expand Down