Skip to content

Commit 294c98f

Browse files
committed
Remove flappy test
1 parent 9740394 commit 294c98f

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

libs/SalesforceSDKCore/SalesforceSDKCoreTests/SFNetworkTests.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ - (void)testSessionSharing {
114114
}
115115
}
116116

117-
118-
- (void)testMetricsAction {
117+
// TODO: Add back after fixing Flappiness
118+
- (void)_testMetricsAction {
119119
[self addTeardownBlock:^{
120120
SFNetwork.metricsCollectedAction = nil;
121121
}];

libs/SalesforceSDKCore/SalesforceSDKCoreTests/SalesforceRestAPITests.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2894,7 +2894,8 @@ - (void)testRestApiGlobalInstance {
28942894
XCTAssertTrue(globalInstance != sharedInstance, @"SFRestAPI globalInstance and sharedInstance must be different");
28952895
}
28962896

2897-
- (void)testPublicApiCalls {
2897+
// TODO: Add back after fixing Flappiness
2898+
- (void)_testPublicApiCalls {
28982899
XCTestExpectation *getExpectation = [self expectationWithDescription:@"Get"];
28992900
__block NSError *error = nil;
29002901
__block NSDictionary *response = nil;

0 commit comments

Comments
 (0)