Skip to content

Commit

Permalink
Fix Ubuntu queue priority not set
Browse files Browse the repository at this point in the history
  • Loading branch information
FabrizioBrancati committed Apr 3, 2024
1 parent 1197cec commit db7e22a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Tests/QueuerTests/QueuerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ internal class QueuerTests: XCTestCase {
testExpectation.fulfill()
}
concurrentOperation.queuePriority = .normal
concurrentOperation.qualityOfService = .default
queue.qualityOfService = .default

concurrentOperation.addToQueue(queue)
XCTAssertEqual(queue.operationCount, 1)

Expand All @@ -58,6 +61,8 @@ internal class QueuerTests: XCTestCase {
testExpectation.fulfill()
}
concurrentOperation.queuePriority = .normal
concurrentOperation.qualityOfService = .default
queue.qualityOfService = .default

queue.addOperation(concurrentOperation)
XCTAssertTrue(queue.operations.contains(concurrentOperation))
Expand Down

0 comments on commit db7e22a

Please sign in to comment.