Skip to content

Commit 1f0e133

Browse files
committed
Updated max timeout.
1 parent d683aee commit 1f0e133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/AblyChatTests/Helpers/Helpers.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class MockMethodCallRecorder: @unchecked Sendable {
162162
return result
163163
}
164164

165-
func waitUntil(hasMatching signature: String, arguments: [String: Any], forMaxTimeout timeout: TimeInterval = 0.5) -> Bool {
165+
func waitUntil(hasMatching signature: String, arguments: [String: Any], forMaxTimeout timeout: TimeInterval = 1.0) -> Bool {
166166
let startedAt = Date()
167167
while !hasRecord(matching: signature, arguments: arguments) {
168168
if startedAt.distance(to: Date()) > timeout {

0 commit comments

Comments
 (0)