Skip to content

Commit ed99985

Browse files
authored
Merge pull request #241 from oracle/tbarnes/inttest-minor
Tbarnes/inttest minor
2 parents 4c2947b + a4ffffb commit ed99985

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/integration-tests/bash/archive.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# archive.sh <source_dir> <target_dir>
77
# - internal helper method called by run.sh
88
# - 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
1010
# - this method doesn't have any configurable env vars
1111
#
1212

@@ -38,7 +38,7 @@ function archive {
3838
[ $? -eq 0 ] || fail "Could not archive, 'tar -czf $ARCHIVE $SOURCE_DIR' command failed: `cat $OUTFILE`"
3939
rm -f $OUTFILE
4040

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
4242

4343
trace Archived to \'$ARCHIVE\'.
4444
}

src/integration-tests/bash/run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,7 @@ function call_operator_rest {
13921392

13931393
trace "Calling some operator REST APIs via ${REST_ADDR}/${URL_TAIL}"
13941394

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 }'`
13961396
#kubectl logs $pod -n $OPERATOR_NS > "${OPERATOR_TMP_DIR}/operator.pre.rest.log"
13971397

13981398
# turn off all of the https proxying so that curl will work
@@ -1950,7 +1950,7 @@ function verify_service_and_pod_created {
19501950
done
19511951

19521952
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 }'`
19541954
local debuglog="${OPERATOR_TMP_DIR}/verify_domain_debugging.log"
19551955
kubectl logs $pod -n $OPERATOR_NS > "${debuglog}"
19561956
if [ -f ${debuglog} ] ; then
@@ -1975,7 +1975,7 @@ function verify_service_and_pod_created {
19751975
fi
19761976

19771977
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 }'`
19791979
local debuglog="${OPERATOR_TMP_DIR}/verify_domain_debugging.log"
19801980
kubectl logs $pod -n $OPERATOR_NS > "${debuglog}"
19811981
if [ -f ${debuglog} ] ; then

0 commit comments

Comments
 (0)