-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tests] update tests to build after changes
* Executors init take in additional argument * A failing test needs more time to complete
- Loading branch information
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -321,7 +321,7 @@ final class SwitchUserIntegrationTests: XCTestCase { | |
// Increase flush interval to allow all the updates to batch | ||
OSOperationRepo.sharedInstance.pollIntervalMilliseconds = 300 | ||
// Wait to let any pending flushes in the Operation Repo to run | ||
OneSignalCoreMocks.waitForBackgroundThreads(seconds: 0.1) | ||
OneSignalCoreMocks.waitForBackgroundThreads(seconds: 0.3) | ||
|
||
// 1. Set up mock responses for the first anonymous user | ||
let tagsUserAnon = ["tag_anon": "value_anon"] | ||
|
@@ -369,7 +369,7 @@ final class SwitchUserIntegrationTests: XCTestCase { | |
OneSignalUserManagerImpl.sharedInstance.addEmail("[email protected]") | ||
|
||
// 3. Run background threads | ||
OneSignalCoreMocks.waitForBackgroundThreads(seconds: 0.5) | ||
OneSignalCoreMocks.waitForBackgroundThreads(seconds: 2) | ||
|
||
/* Then */ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters