Skip to content

UBF: Addet testcase for breaking double-start behaviour #298

UBF: Addet testcase for breaking double-start behaviour

UBF: Addet testcase for breaking double-start behaviour #298

Triggered via push May 9, 2024 12:14
Status Failure
Total duration 5m 40s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 11 warnings
Tests: Tests/UBFoundationTests/Networking/HTTPDataTaskTests.swift#L526
testCancelWhileFetching, Asynchronous wait failed: Exceeded timeout of 30 seconds, with unfulfilled expectations: "Request".
Tests: Tests/UBFoundationTests/Networking/TaskAutoRefreshLogicTests.swift#L141
testMaxAge0, XCTAssertFalse failed
Tests: Tests/UBFoundationTests/Networking/TaskAutoRefreshLogicTests.swift#L286
testNoLanguageCaching, XCTAssertTrue failed
Tests
Tests Failed: 3 failed, 0 skipped, 167 total (131.054 seconds)
Tests
Process completed with exit code 1.
Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests: Sources/UBFoundation/Networking/Networking+URLSession.swift#L11
sendability of function types in instance method 'reset(completionHandler:)' does not match requirement in protocol 'UBURLSessionProtocol'
Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L96
'kSecAttrAccessibleAlways' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock
Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L106
'kSecAttrAccessibleAlwaysThisDeviceOnly' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L144
'kSecAttrAccessibleAlways' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock
Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L158
'kSecAttrAccessibleAlwaysThisDeviceOnly' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
Tests: Sources/UBFoundation/Networking/BaseCachingLogic.swift#L141
value 'metrics' was defined but never used; consider replacing with boolean test
Tests: Sources/UBFoundation/Networking/BaseCachingLogic.swift#L256
immutable value 'responseDate' was never used; consider replacing with '_' or removing it
Tests: Sources/UBFoundation/Networking/Networking+URLSession.swift#L11
sendability of function types in instance method 'reset(completionHandler:)' does not match requirement in protocol 'UBURLSessionProtocol'
Tests: Tests/UBFoundationTests/Networking/Helpers/URLSessionDataTaskMock.swift#L23
'init()' was deprecated in iOS 13.0: Please use -[NSURLSession dataTaskWithRequest:] or other NSURLSession methods to create instances