File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
src/integration-tests/introspector Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ function runJob() {
215
215
216
216
# Run the job
217
217
218
- tracen " Info: Waiting for job to complete."
218
+ tracen " Info: Waiting for job ' $job_name ' to complete."
219
219
printdots_start
220
220
env \
221
221
KUBECONFIG=$KUBECONFIG \
@@ -509,7 +509,7 @@ function deployPod() {
509
509
local status=" 0/1"
510
510
local startsecs=$SECONDS
511
511
local maxsecs=180
512
- tracen " Info: Waiting up to $maxsecs seconds for pod readiness"
512
+ tracen " Info: Waiting up to $maxsecs seconds for pod ' $pod_name ' readiness"
513
513
while [ " ${status} " != " 1/1" ] ; do
514
514
if [ $(( SECONDS - startsecs)) -gt $maxsecs ]; then
515
515
echo
Original file line number Diff line number Diff line change 31
31
#
32
32
33
33
printdots_inner () {
34
- local start_pids=" "
34
+ local start_pids=" ` ps $PPID 2>&1 ` "
35
35
local dotsfile=$1
36
36
local begin_sec=$SECONDS
37
37
[ -f " $dotsfile " ] || return
38
38
while [ 1 -eq 1 ]; do
39
- [ " $start_pids " = " " ] && start_pids=" ` ps -o ppid=` "
40
39
sleep ${2:- 1}
41
-
42
40
# if parent pids changed, then our parent died and we should exit
43
- local end_pids=" ` ps -o ppid= ` "
41
+ local end_pids=" ` ps $PPID 2>&1 ` "
44
42
[ " $start_pids " = " $end_pids " ] || break
45
43
46
44
# if too much time has passed, then exit
You can’t perform that action at this time.
0 commit comments