Skip to content

Commit a1d8029

Browse files
committed
More time for test that use expectations
1 parent ace155d commit a1d8029

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

libs/SalesforceSDKCore/SalesforceSDKCoreTests/AuthFlowTypesViewTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class AuthFlowTypesViewTests: XCTestCase {
8989
expectation.fulfill()
9090
}
9191

92-
wait(for: [expectation], timeout: 1.0)
92+
wait(for: [expectation], timeout: 2.0)
9393
}
9494
}
9595

libs/SalesforceSDKCore/SalesforceSDKCoreTests/BootConfigPickerViewControllerTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class BootConfigPickerViewControllerTests: XCTestCase {
114114
expectation.fulfill()
115115
}
116116

117-
wait(for: [expectation], timeout: 1.0)
117+
wait(for: [expectation], timeout: 2.0)
118118
}
119119

120120
func testStaticConfigButtonAction() {
@@ -136,7 +136,7 @@ class BootConfigPickerViewControllerTests: XCTestCase {
136136
view.handleStaticConfig()
137137

138138
// Verify the completion callback was called
139-
wait(for: [expectation], timeout: 1.0)
139+
wait(for: [expectation], timeout: 2.0)
140140
XCTAssertTrue(completionCalled, "Completion callback should be called")
141141

142142
// Verify SalesforceManager was updated
@@ -169,7 +169,7 @@ class BootConfigPickerViewControllerTests: XCTestCase {
169169
// Trigger the dynamic config handler
170170
view.handleDynamicBootconfig()
171171

172-
wait(for: [expectation], timeout: 1.0)
172+
wait(for: [expectation], timeout: 2.0)
173173
XCTAssertTrue(completionCalled, "Completion callback should be called")
174174

175175
// Verify runtime selector was set

libs/SalesforceSDKCore/SalesforceSDKCoreTests/DevInfoViewControllerTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ class DevInfoViewControllerTests: XCTestCase {
503503
expectation.fulfill()
504504
}
505505

506-
wait(for: [expectation], timeout: 1.0)
506+
wait(for: [expectation], timeout: 2.0)
507507
}
508508
}
509509

0 commit comments

Comments
 (0)