File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,19 @@ if [[ $* == *--only-diff-head* ]]; then
51
51
fi
52
52
fi
53
53
54
+ # Because Kokoro runs presubmit builds simalteneously, we often see
55
+ # quota related errors. I think we can avoid this by changing the
56
+ # order of tests to execute (e.g. reverse order for py-3.8
57
+ # build). Currently there's no easy way to do that with btlr, so we
58
+ # temporarily wait few minutes to avoid quota issue for py-3.8
59
+ # presubmit build.
60
+ if [[ " ${RUN_TESTS_SESSION} " == " py-3.8" ]] \
61
+ && [[ " ${KOKORO_JOB_NAME} " == * presubmit ]]; then
62
+ echo -n " Detected py-3.8 presubmit build,"
63
+ echo " Wait few minutes to avoid quota issues."
64
+ sleep 5m
65
+ fi
66
+
54
67
if [[ -z " ${PROJECT_ROOT:- } " ]]; then
55
68
PROJECT_ROOT=" github/python-docs-samples"
56
69
fi
You can’t perform that action at this time.
0 commit comments