Capture previous command exit code in integration tests cleanup (#2503)
* show previous response code * log previous response code of shell script command
This commit is contained in:
@@ -15,6 +15,7 @@ targetMaxScale=6
|
||||
targetCpuPercent=60
|
||||
|
||||
cleanup() {
|
||||
echo "previous response" $?
|
||||
log "Cleaning up..."
|
||||
clean_resource_by_id $TEST_ID
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user