Skip to content

Commit

Permalink
Increase sync timeout to avoid flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlang committed Sep 29, 2024
1 parent ce47d9f commit e21a7ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Unit Tests/ProtectEarthSiteServiceTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ProtectEarthSiteServiceTests: XCTestCase {
siteService!.sync() { _ in
expectation.fulfill()
}
waitForExpectations(timeout: 5)
waitForExpectations(timeout: 10)
}

override func tearDownWithError() throws {
Expand Down
2 changes: 1 addition & 1 deletion Unit Tests/ProtectEarthSpeciesServiceTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ProtectEarthSpeciesServiceTests: XCTestCase {
speciesService!.sync() { _ in
expectation.fulfill()
}
waitForExpectations(timeout: 5)
waitForExpectations(timeout: 10)
}

override func tearDownWithError() throws {
Expand Down
2 changes: 1 addition & 1 deletion Unit Tests/ProtectEarthSupervisorServiceTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ProtectEarthSupervisorServiceTests: XCTestCase {
supervisorService!.sync() { _ in
expectation.fulfill()
}
waitForExpectations(timeout: 5)
waitForExpectations(timeout: 10)
}

override func tearDownWithError() throws {
Expand Down

0 comments on commit e21a7ec

Please sign in to comment.