Merge pull request #1786 from sparkle-project/bump-unarchiving-test-timeout-2x

Bump unarchiving tests timeout from 7 seconds to 30 seconds (2.x)
This commit is contained in:
Mayur Pawashe authored and GitHub committed 2021-02-22 07:44:40 -08:00
commit 8a868914e5
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@ class SUUnarchiverTest: XCTestCase
self.unarchiveTestAppWithExtension(archiveExtension, appName: appName, tempDirectoryURL: tempDirectoryURL, tempArchiveURL: tempArchiveURL, archiveResourceURL: archiveResourceURL, password: password, expectingInstallationType: installationType, expectingSuccess: expectingSuccess, testExpectation: unarchivedSuccessExpectation)
self.unarchiveNonExistentFileTestFailureAppWithExtension(archiveExtension, tempDirectoryURL: tempDirectoryURL, password: password, expectingInstallationType: installationType, testExpectation: unarchivedFailureExpectation)
super.waitForExpectations(timeout: 7.0, handler: nil)
super.waitForExpectations(timeout: 30.0, handler: nil)
if !archiveExtension.hasSuffix("pkg") {
XCTAssertTrue(fileManager.fileExists(atPath: extractedAppURL.path))