Skip to content

Commit ecb0044

Browse files
committed
Validate image script fixes.
- Set explicity test timeout. - `adb start-server` used in snapshot test requires $HOME write permission. Bug: b/452707096
1 parent 928941a commit ecb0044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/baseimage/pkg/gce/scripts/scripts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ if [ -z "$tests" ]; then
302302
fi
303303
for t in "${tests[@]}"; do
304304
echo "running test: ${t}"
305-
bazel test ${t}
305+
bazel test --test_timeout 600 --sandbox_writable_path=$HOME ${t}
306306
res=$(curl --fail -X POST "http://localhost:2080/reset")
307307
op_name=$(echo "${res}" | jq -r '.name')
308308
curl --fail -X POST http://localhost:2080/operations/${op_name}/:wait

0 commit comments

Comments
 (0)