Skip to content

Commit 237486c

Browse files
committed
minor fix
1 parent 064a81f commit 237486c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.kokoro/system.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,10 @@ done
156156

157157
if [ -n "$PACKAGES_TO_TEST" ]; then
158158
mkdir -p .logs
159+
export -f run_package_test
160+
export system_test_script PROJECT_ROOT KOKORO_GFILE_DIR
161+
159162
echo "Running system tests in parallel (3 workers)..."
160-
mkdir -p .logs
161163
# Use timeout to prevent infinite hangs, and < /dev/null to prevent stdin blocks
162164
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"'
163165

0 commit comments

Comments
 (0)