From 6210db8ffa00abf1d72f85c902c7708d586d2e1a Mon Sep 17 00:00:00 2001 From: Konstantin Raev Date: Tue, 14 Jun 2016 03:51:44 -0700 Subject: [PATCH] Fixed Circle: limit Gradle threads Summary: Closes https://github.com/facebook/react-native/pull/8103 Differential Revision: D3430328 fbshipit-source-id: 0e683ae1cdc6b4c0cd1e2f426f838b749341dca5 --- circle.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 642c4e8a84..c62a08527d 100644 --- a/circle.yml +++ b/circle.yml @@ -71,7 +71,8 @@ test: # run installed apk with tests - node ./scripts/run-android-ci-instrumentation-tests.js --retries 3 --path ./ReactAndroid/src/androidTest/java/com/facebook/react/tests --package com.facebook.react.tests - - ./gradlew :ReactAndroid:testDebugUnitTest + # gradle may invalidate bridge build cache, so we pass single-threaded setting just in case + - ./gradlew :ReactAndroid:testDebugUnitTest -Pjobs=1 # Deprecated: these tests are executed using Buck above, while we support Gradle we just make sure the test code compiles - ./gradlew :ReactAndroid:assembleDebugAndroidTest