RN: 5s Delay in ReactAppInstrumentationTestCase

Summary:
Tests like `CatalystSubviewsClippingTestCase` are intermittently failing due to registered callable modules not yet being registered.

Increasing the timeout to wait for the bundle execution to mitigate these intermittent failures.

Changelog:
[Internal]

Reviewed By: mdvacca

Differential Revision: D29835227

fbshipit-source-id: c9fe03202ad4028d3785216d50c6c173a56c6d84
This commit is contained in:
Tim Yung
2021-07-21 17:11:30 -07:00
committed by Facebook GitHub Bot
parent a67799fc4a
commit 7884fc519b
@@ -37,7 +37,7 @@ public abstract class ReactAppInstrumentationTestCase
final ReactAppTestActivity activity = getActivity();
activity.loadApp(
getReactApplicationKeyUnderTest(), createReactInstanceSpecForTest(), getEnableDevSupport());
waitForBridgeAndUIIdle();
waitForBridgeAndUIIdle(5000);
}
@Override