From 16b8747f61ae42534b40ac4081e1a89f6763dbd5 Mon Sep 17 00:00:00 2001 From: Adam Ernst Date: Mon, 8 Jun 2015 10:38:44 -0400 Subject: [PATCH] @build-break Disable flaky react tests --- .../IntegrationTestsTests.m | 14 +++++++------- .../UIExplorerIntegrationTests.m | 3 +++ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Examples/UIExplorer/UIExplorerIntegrationTests/IntegrationTestsTests.m b/Examples/UIExplorer/UIExplorerIntegrationTests/IntegrationTestsTests.m index 3b701109e..c9cd16206 100644 --- a/Examples/UIExplorer/UIExplorerIntegrationTests/IntegrationTestsTests.m +++ b/Examples/UIExplorer/UIExplorerIntegrationTests/IntegrationTestsTests.m @@ -39,12 +39,12 @@ #pragma mark Logic Tests -- (void)testTheTester +- (void)DISABLED_testTheTester // #7149037 { [_runner runTest:_cmd module:@"IntegrationTestHarnessTest"]; } -- (void)testTheTester_waitOneFrame +- (void)DISABLED_testTheTester_waitOneFrame // #7149037 { [_runner runTest:_cmd module:@"IntegrationTestHarnessTest" @@ -61,29 +61,29 @@ expectErrorRegex:@"because shouldThrow"]; } -- (void)testTimers +- (void)DISABLED_testTimers // #7149037 { [_runner runTest:_cmd module:@"TimersTest"]; } -- (void)testAsyncStorage +- (void)DISABLED_testAsyncStorage // #7149037 { [_runner runTest:_cmd module:@"AsyncStorageTest"]; } -- (void)testLayoutEvents +- (void)DISABLED_testLayoutEvents // #7149037 { [_runner runTest:_cmd module:@"LayoutEventsTest"]; } -- (void)testAppEvents +- (void)DISABLED_testAppEvents // #7149037 { [_runner runTest:_cmd module:@"AppEventsTest"]; } #pragma mark Snapshot Tests -- (void)testSimpleSnapshot +- (void)DISABLED_testSimpleSnapshot // #7149037 { [_runner runTest:_cmd module:@"SimpleSnapshotTest"]; } diff --git a/Examples/UIExplorer/UIExplorerIntegrationTests/UIExplorerIntegrationTests.m b/Examples/UIExplorer/UIExplorerIntegrationTests/UIExplorerIntegrationTests.m index d48b25ddf..8328e8457 100644 --- a/Examples/UIExplorer/UIExplorerIntegrationTests/UIExplorerIntegrationTests.m +++ b/Examples/UIExplorer/UIExplorerIntegrationTests/UIExplorerIntegrationTests.m @@ -95,12 +95,15 @@ [_runner runTest:_cmd module:@#name]; \ } +/* +These tests are all disabled due to #7149037. RCT_SNAPSHOT_TEST(ViewExample, NO) RCT_SNAPSHOT_TEST(LayoutExample, NO) RCT_SNAPSHOT_TEST(TextExample, NO) RCT_SNAPSHOT_TEST(SwitchExample, NO) RCT_SNAPSHOT_TEST(SliderExample, NO) RCT_SNAPSHOT_TEST(TabBarExample, NO) +*/ // Make sure this test runs last - (void)testZZZ_NotInRecordMode