diff --git a/DXFeedFrameworkTests/DXConnectionStateTests.swift b/DXFeedFrameworkTests/DXConnectionStateTests.swift index 29743d7ce..f559550d3 100644 --- a/DXFeedFrameworkTests/DXConnectionStateTests.swift +++ b/DXFeedFrameworkTests/DXConnectionStateTests.swift @@ -60,14 +60,14 @@ final class DXConnectionStateTests: XCTestCase { try endpoint?.close() try endpoint?.disconnect() wait(seconds: 2) - Isolate.shared.callGC() +// Isolate.shared.callGC() state = try? endpoint?.getState() try endpoint?.close() state = try? endpoint?.getState() - Isolate.shared.callGC() +// Isolate.shared.callGC() try endpoint?.close() state = try? endpoint?.getState() - Isolate.shared.callGC() +// Isolate.shared.callGC() state = try? endpoint?.getState() endpoint = nil endpoint = try DXEndpoint.builder().withRole(.feed).withProperty("test", "value").build() diff --git a/DXFeedFrameworkTests/DXConnectionTest.swift b/DXFeedFrameworkTests/DXConnectionTest.swift index 9046d42c0..5a48e4ec9 100644 --- a/DXFeedFrameworkTests/DXConnectionTest.swift +++ b/DXFeedFrameworkTests/DXConnectionTest.swift @@ -72,11 +72,4 @@ final class DXConnectionTest: XCTestCase { wait(for: [receivedEventsExpectation], timeout: 2) } - - func testPerformanceExample() throws { - // This is an example of a performance test case. - self.measure { - // Put the code you want to measure the time of here. - } - } } diff --git a/DXFeedFrameworkTests/DXExceptPublisherTests.xctestplan b/DXFeedFrameworkTests/DXExceptPublisherTests.xctestplan index 31f451be3..74ec00802 100644 --- a/DXFeedFrameworkTests/DXExceptPublisherTests.xctestplan +++ b/DXFeedFrameworkTests/DXExceptPublisherTests.xctestplan @@ -32,6 +32,9 @@ "CandleTests\/testParseLongSymbol()", "CandleTests\/testParseShortSymbol()", "CandleTests\/testSnapshot()", + "DXConnectionTest\/testConnection()", + "DXConnectionTest\/testDXLinkConnection()", + "DXConnectionTest\/testPerformanceExample()", "DateTests\/testDateConvert()", "DateTests\/testExample()", "DateTests\/testPerformanceExample()", diff --git a/DXFeedFrameworkTests/DXFeedAllTests.xctestplan b/DXFeedFrameworkTests/DXFeedAllTests.xctestplan index eb229f7d1..6b0e5215d 100644 --- a/DXFeedFrameworkTests/DXFeedAllTests.xctestplan +++ b/DXFeedFrameworkTests/DXFeedAllTests.xctestplan @@ -20,8 +20,11 @@ "environmentVariableEntries" : [ ], + "maximumTestRepetitions" : 10, "testRepetitionMode" : "retryOnFailure", - "threadSanitizerEnabled" : true + "testTimeoutsEnabled" : true, + "threadSanitizerEnabled" : true, + "undefinedBehaviorSanitizerEnabled" : true }, "testTargets" : [ { diff --git a/Samples/QdsTools/SceneDelegate.swift b/Samples/QdsTools/SceneDelegate.swift index 28178bd4a..2e2889875 100644 --- a/Samples/QdsTools/SceneDelegate.swift +++ b/Samples/QdsTools/SceneDelegate.swift @@ -14,7 +14,6 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate { func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { - guard let _ = (scene as? UIWindowScene) else { return } } func sceneDidDisconnect(_ scene: UIScene) {