From 7feaa748a45a99dc6a089ca1f054cf427b4f93f0 Mon Sep 17 00:00:00 2001 From: Matt Gallagher Date: Tue, 18 Apr 2023 13:06:05 +1000 Subject: [PATCH] Removed some unneeded configuration from the test. --- Tests/GRDBTests/ValueObservationTests.swift | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Tests/GRDBTests/ValueObservationTests.swift b/Tests/GRDBTests/ValueObservationTests.swift index ae705ed65..b981ef256 100644 --- a/Tests/GRDBTests/ValueObservationTests.swift +++ b/Tests/GRDBTests/ValueObservationTests.swift @@ -1105,7 +1105,7 @@ class ValueObservationTests: GRDBTestCase { let observation = ValueObservation.trackingConstantRegion(Table("s").fetchCount) let cancellable = observation.start( in: writer, - scheduling: .async(onQueue: DispatchQueue(label: "", qos: .utility)), + scheduling: .async(onQueue: DispatchQueue(label: "")), onError: { error in XCTFail("Unexpected error: \(error)") }, onChange: { value in receiveExpectation.fulfill() @@ -1135,10 +1135,6 @@ class ValueObservationTests: GRDBTestCase { #endif withExtendedLifetime(cancellables) {} } - try await AsyncTest(test).runAtTemporaryDatabasePath { - var configuration = Configuration() - configuration.qos = .userInitiated - return try DatabasePool(path: $0, configuration: configuration) - } + try await AsyncTest(test).runAtTemporaryDatabasePath { try DatabasePool(path: $0) } } }