Skip to content

Commit 5bd7f20

Browse files
Increase test timeout.
1 parent 93a7c33 commit 5bd7f20

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/swift-sdk-swift-tests/IterableAPITests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class IterableAPITests: XCTestCase {
6363
XCTFail()
6464
}
6565

66-
wait(for: [expectation], timeout: 5.0)
66+
wait(for: [expectation], timeout: testExpectationTimeout)
6767
}
6868

6969
func testTrackEventBadNetwork() {
@@ -83,7 +83,7 @@ class IterableAPITests: XCTestCase {
8383
},
8484
onFailure: {(reason, data) in expectation.fulfill()})
8585

86-
wait(for: [expectation], timeout: 5.0)
86+
wait(for: [expectation], timeout: testExpectationTimeout)
8787
}
8888

8989
func testUpdateUser() {
@@ -105,7 +105,7 @@ class IterableAPITests: XCTestCase {
105105
expectation.fulfill()
106106
}
107107

108-
wait(for: [expectation], timeout: 5.0)
108+
wait(for: [expectation], timeout: testExpectationTimeout)
109109
}
110110

111111
func testUpdateEmail() {
@@ -132,6 +132,6 @@ class IterableAPITests: XCTestCase {
132132
XCTFail()
133133
})
134134

135-
wait(for: [expectation], timeout: 5.0)
135+
wait(for: [expectation], timeout: testExpectationTimeout)
136136
}
137137
}

0 commit comments

Comments
 (0)