File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/integration-tests/bash Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6
6
# archive.sh <source_dir> <target_dir>
7
7
# - internal helper method called by run.sh
8
8
# - archives directory ${1} into ${2}/IntSuite.TIMESTAMP.tar.gz
9
- # - deletes all but the 5 newest archives
9
+ # - deletes all but the 10 newest archives
10
10
# - this method doesn't have any configurable env vars
11
11
#
12
12
@@ -38,7 +38,7 @@ function archive {
38
38
[ $? -eq 0 ] || fail " Could not archive, 'tar -czf $ARCHIVE $SOURCE_DIR ' command failed: ` cat $OUTFILE ` "
39
39
rm -f $OUTFILE
40
40
41
- find $ARCHIVE_DIR -maxdepth 1 -name " IntSuite*tar.gz" | sort -r | awk ' { if (NR>5 ) print $NF }' | xargs rm -f
41
+ find $ARCHIVE_DIR -maxdepth 1 -name " IntSuite*tar.gz" | sort -r | awk ' { if (NR>10 ) print $NF }' | xargs rm -f
42
42
43
43
trace Archived to \' $ARCHIVE \' .
44
44
}
Original file line number Diff line number Diff line change @@ -1392,7 +1392,7 @@ function call_operator_rest {
1392
1392
1393
1393
trace " Calling some operator REST APIs via ${REST_ADDR} /${URL_TAIL} "
1394
1394
1395
- # pod=`kubectl get pod -n $OPERATOR_NS | grep $OPERATOR_NS | awk '{ print $1 }'`
1395
+ # pod=`kubectl get pod -n $OPERATOR_NS --show-labels=true | grep $OPERATOR_NS | awk '{ print $1 }'`
1396
1396
# kubectl logs $pod -n $OPERATOR_NS > "${OPERATOR_TMP_DIR}/operator.pre.rest.log"
1397
1397
1398
1398
# turn off all of the https proxying so that curl will work
@@ -1950,7 +1950,7 @@ function verify_service_and_pod_created {
1950
1950
done
1951
1951
1952
1952
if [ " ${srv_count:= Error} " != " 1" ]; then
1953
- local pod=` kubectl get pod -n $OPERATOR_NS | grep $OPERATOR_NS | awk ' { print $1 }' `
1953
+ local pod=` kubectl get pod -n $OPERATOR_NS --show-labels=true | grep $OPERATOR_NS | awk ' { print $1 }' `
1954
1954
local debuglog=" ${OPERATOR_TMP_DIR} /verify_domain_debugging.log"
1955
1955
kubectl logs $pod -n $OPERATOR_NS > " ${debuglog} "
1956
1956
if [ -f ${debuglog} ] ; then
@@ -1975,7 +1975,7 @@ function verify_service_and_pod_created {
1975
1975
fi
1976
1976
1977
1977
if [ " ${srv_count:= Error} " != " 1" ]; then
1978
- local pod=` kubectl get pod -n $OPERATOR_NS | grep $OPERATOR_NS | awk ' { print $1 }' `
1978
+ local pod=` kubectl get pod -n $OPERATOR_NS --show-labels=true | grep $OPERATOR_NS | awk ' { print $1 }' `
1979
1979
local debuglog=" ${OPERATOR_TMP_DIR} /verify_domain_debugging.log"
1980
1980
kubectl logs $pod -n $OPERATOR_NS > " ${debuglog} "
1981
1981
if [ -f ${debuglog} ] ; then
You can’t perform that action at this time.
0 commit comments