Improved android e2e tests stability
Summary: Some tweaks to make CircleCI pass Closes https://github.com/facebook/react-native/pull/8425 Differential Revision: D3485087 Pulled By: bestander fbshipit-source-id: b1941ecedbcaf81f0bcb34a10686f21f2ded3114
This commit is contained in:
parent
37e41d2549
commit
c58a7aa546
|
@ -77,7 +77,7 @@ test:
|
|||
- ./gradlew :ReactAndroid:assembleDebugAndroidTest -Pjobs=1 -Pcom.android.build.threadPoolSize=1
|
||||
|
||||
# Android e2e test
|
||||
- node ./scripts/run-ci-e2e-tests.js --android --js --retries 3
|
||||
- source scripts/circle-ci-android-setup.sh && retry3 node ./scripts/run-ci-e2e-tests.js --android --js --retries 2
|
||||
|
||||
# testing docs generation is not broken
|
||||
- cd website && node ./server/generate.js
|
||||
|
|
|
@ -38,4 +38,3 @@ function retry3 {
|
|||
}
|
||||
done
|
||||
}
|
||||
|
||||
|
|
|
@ -131,7 +131,7 @@ try {
|
|||
});
|
||||
SERVER_PID = packagerProcess.pid;
|
||||
// wait a bit to allow packager to startup
|
||||
exec('sleep 5s');
|
||||
exec('sleep 15s');
|
||||
echo('Executing android e2e test');
|
||||
if (tryExecNTimes(
|
||||
() => {
|
||||
|
|
Loading…
Reference in New Issue