File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/integration-tests/bash Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ function makeLocalLease {
261
261
#This file is created by script $0
262
262
timestamp=0
263
263
date=` date ' +%m-%d-%YT%H:%M:%S' `
264
- host=` hostname `
264
+ host=$HOST
265
265
pid=$LOCAL_PID
266
266
user=$USER
267
267
EOF
270
270
#This file is created by script $0
271
271
timestamp=` date +%s`
272
272
date=` date ' +%m-%d-%YT%H:%M:%S' `
273
- host=` hostname `
273
+ host=$HOST
274
274
pid=$LOCAL_PID
275
275
user=$USER
276
276
EOF
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ integration-test:
124
124
echo @@ "If this blocks unexpectedly and you are sure that the kubernetes cluster isn't in use by "
125
125
echo @@ "another Wercker pipeline, you can force the lease to free up via 'kubectl delete cm acceptance-test-lease'."
126
126
echo @@ "See LEASE_PID in run.sh for details about this heuristic."
127
- echo @@ "PID=$LEASE_PID host=`hostname` date=`date`."
127
+ echo @@ "PID=$LEASE_PID host=$HOST date=`date` user=$USER ."
128
128
echo @@ "Current lease owner (if any):"
129
129
$WERCKER_SOURCE_DIR/src/integration-tests/bash/lease.sh -s
130
130
echo @@ "About to try obtain lease:"
You can’t perform that action at this time.
0 commit comments