Skip to content

Commit

Permalink
ci: Change tests timeout
Browse files Browse the repository at this point in the history
PP-141
  • Loading branch information
jackkray committed Dec 5, 2024
1 parent fe2c95a commit 8119352
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,6 @@ class TransferSummaryIntegrationTest: XCTestCase {
XCTFail(String(describing: error))
}
}
wait(for: [expect], timeout: 60)
wait(for: [expect], timeout: 30)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ class TransferSummaryIntegrationTest: XCTestCase {
XCTFail(String(describing: error))
}
}
wait(for: [expect], timeout: 60)
wait(for: [expect], timeout: 30)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class DigitalInvoiceIntegrationTests: BaseIntegrationTest {
let mockedInvoiceName = "Gini_invoice_example_line_items_with_discount"
uploadAndAnalyzeDocument(fileName: mockedInvoiceName,
delegate: CaptureResultsDelegate(testCase: self, expect: expect))
wait(for: [expect], timeout: 60)
wait(for: [expect], timeout: 30)
}

class CaptureResultsDelegate: GiniCaptureResultsDelegate {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class DigitalInvoiceWithSkontoIntegrationTests: BaseIntegrationTest {
let captureDelegate = CaptureResultsDelegate(testCase: self, expect: expect)
uploadAndAnalyzeDocument(fileName: mockedInvoiceName,
delegate: captureDelegate)
wait(for: [expect], timeout: 60)
wait(for: [expect], timeout: 30)
}

class CaptureResultsDelegate: GiniCaptureResultsDelegate {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class SkontoIntegrationTests: BaseIntegrationTest {
let captureDelegate = CaptureResultsDelegate(testCase: self, expect: expect)
uploadAndAnalyzeDocument(fileName: mockedInvoiceName,
delegate: captureDelegate)
wait(for: [expect], timeout: 60)
wait(for: [expect], timeout: 30)
}

class CaptureResultsDelegate: GiniCaptureResultsDelegate {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class TransferSummaryIntegrationTest: BaseIntegrationTest {
delegate: CaptureResultsDelegateForTransferSummaryTest(testCase: self,
expect: expect),
sendTransferSummaryIfNeeded: true)
wait(for: [expect], timeout: 60)
wait(for: [expect], timeout: 30)
}

class CaptureResultsDelegateForTransferSummaryTest: GiniCaptureResultsDelegate {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class TransferSummaryIntegrationTest: XCTestCase {
// (subsequent steps are in CaptureResultsDelegateForTransferSummaryTest)
self.getExtractionsFromGiniBankSDK(delegate: CaptureResultsDelegateForTransferSummaryTest(integrationTest: self, expect: expect))

wait(for: [expect], timeout: 60)
wait(for: [expect], timeout: 30)
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class TransferSummaryIntegrationTest: XCTestCase {
// (subsequent steps are in CaptureResultsDelegateForTransferSummaryTest)
self.getExtractionsFromGiniCaptureSDK(delegate: CaptureResultsDelegateForTransferSummaryTest(integrationTest: self, expect: expect))

wait(for: [expect], timeout: 60)
wait(for: [expect], timeout: 30)
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class UploadDocumentsTests: XCTestCase {

self.uploadDocumentAndGetExtractionFromGiniHealthAPILibrary(data: pdfData13MB, expect: expect)

wait(for: [expect], timeout: 60)
wait(for: [expect], timeout: 30)
}

private func uploadDocumentAndGetExtractionFromGiniHealthAPILibrary(data: Data, expect: XCTestExpectation) {
Expand Down

0 comments on commit 8119352

Please sign in to comment.