From c6ed57a24e433b0a726f15c2e876ba6aa22935d2 Mon Sep 17 00:00:00 2001 From: Felix Mau Date: Fri, 9 Sep 2022 14:29:15 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20::=20Increase=20timeout=20for=20?= =?UTF-8?q?CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../GradientLoadingBarControllerTestCase.swift | 2 +- .../NotchGradientLoadingBarControllerTestCase.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Example/ExampleSnapshotTests/GradientLoadingBar/GradientLoadingBarControllerTestCase.swift b/Example/ExampleSnapshotTests/GradientLoadingBar/GradientLoadingBarControllerTestCase.swift index e04c2f8..4ec86e7 100644 --- a/Example/ExampleSnapshotTests/GradientLoadingBar/GradientLoadingBarControllerTestCase.swift +++ b/Example/ExampleSnapshotTests/GradientLoadingBar/GradientLoadingBarControllerTestCase.swift @@ -48,7 +48,7 @@ final class GradientLoadingBarControllerTestCase: XCTestCase { } // Then - wait(for: [expectation], timeout: 0.01) + wait(for: [expectation], timeout: 0.1) // Workaround, as snapshotting a `UIWindow` is currently not supported and crashes when running all tests. assertSnapshot(matching: window.layer, as: .image) diff --git a/Example/ExampleSnapshotTests/NotchGradientLoadingBar/NotchGradientLoadingBarControllerTestCase.swift b/Example/ExampleSnapshotTests/NotchGradientLoadingBar/NotchGradientLoadingBarControllerTestCase.swift index c2d9c6e..1071feb 100644 --- a/Example/ExampleSnapshotTests/NotchGradientLoadingBar/NotchGradientLoadingBarControllerTestCase.swift +++ b/Example/ExampleSnapshotTests/NotchGradientLoadingBar/NotchGradientLoadingBarControllerTestCase.swift @@ -49,7 +49,7 @@ final class NotchGradientLoadingBarControllerTestCase: XCTestCase { } // Then - wait(for: [expectation], timeout: 0.01) + wait(for: [expectation], timeout: 0.1) // Workaround, as snapshotting a `UIWindow` is currently not supported and crashes when running all tests. assertSnapshot(matching: window.layer, as: .image)