Skip to content

Commit 9f83144

Browse files
authored
Merge pull request #776 from bugsnag/tests/fix-flaky-scenario
[PLAT-4797] Fix flakey Session test
2 parents 9166ac7 + 7e62c8d commit 9f83144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/fixtures/ios-swift-cocoapods/iOSTestApp/scenarios/AutoSessionUnhandledScenario.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ - (void)startBugsnag {
2121

2222
- (void)run {
2323
if (![self.eventMode isEqualToString:@"noevent"]) {
24-
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 4 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
24+
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 2 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
2525
NSException *ex = [NSException exceptionWithName:@"Kaboom" reason:@"The connection exploded" userInfo:nil];
2626

2727
@throw ex;

0 commit comments

Comments
 (0)