mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Disable RCTAllocationTests:testUnderlyingBridgeIsDeallocated by hand
fb-gh-sync-id: e584ac013468763b2844112f27af9ef82065bd66
This commit is contained in:
committed by
facebook-github-bot-7
parent
9901bf20e1
commit
f47c79c113
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user