Disable RCTAllocationTests:testUnderlyingBridgeIsDeallocated by hand

fb-gh-sync-id: e584ac013468763b2844112f27af9ef82065bd66
This commit is contained in:
Justin Spahr-Summers 2015-12-18 02:03:17 -08:00 committed by facebook-github-bot-7
parent 9901bf20e1
commit f47c79c113
1 changed files with 3 additions and 0 deletions

View File

@ -212,6 +212,8 @@ RCT_EXPORT_METHOD(test:(__unused NSString *)a
XCTAssertFalse(rootContentView.userInteractionEnabled, @"RCTContentView should have been invalidated");
}
// This test is flaky, and needs to be fixed before re-enabling. See t9456702.
#if 0
- (void)testUnderlyingBridgeIsDeallocated
{
RCTBridge *bridge;
@ -228,5 +230,6 @@ RCT_EXPORT_METHOD(test:(__unused NSString *)a
XCTAssertNotNil(bridge, @"RCTBridge should not have been deallocated");
XCTAssertNil(batchedBridge, @"RCTBatchedBridge should have been deallocated");
}
#endif
@end