There was an error while loading. Please reload this page.
1 parent 064a81f commit 237486cCopy full SHA for 237486c
1 file changed
.kokoro/system.sh
@@ -156,8 +156,10 @@ done
156
157
if [ -n "$PACKAGES_TO_TEST" ]; then
158
mkdir -p .logs
159
+ export -f run_package_test
160
+ export system_test_script PROJECT_ROOT KOKORO_GFILE_DIR
161
+
162
echo "Running system tests in parallel (3 workers)..."
- mkdir -p .logs
163
# Use timeout to prevent infinite hangs, and < /dev/null to prevent stdin blocks
164
echo "$PACKAGES_TO_TEST" | tr ' ' '\n' | awk 'NF' | xargs -P 3 -I {} bash -c 'timeout 15m bash -c "run_package_test \"{}\" < /dev/null" > ".logs/{}.log" 2>&1 || touch ".logs/{}.failed"'
165
0 commit comments