diff options
author | 2021-01-21 14:17:58 +0000 | |
---|---|---|
committer | 2021-01-21 14:17:58 +0000 | |
commit | 2a26e7f038190ef736a73443ee56169fea6815a9 (patch) | |
tree | 4822f88f7fc70277f6559c198ee7cb4277d4eaeb /cds-regression-test/test/py-executor/failing-script | |
parent | 8908c43db11c2eecc2b6e730a5c99f6ec3091a95 (diff) | |
parent | e92fce768cb792f11920f45fdbb38b3af69e212f (diff) |
Merge "Update to latest version"honolulu
Diffstat (limited to 'cds-regression-test/test/py-executor/failing-script')
3 files changed, 0 insertions, 66 deletions
diff --git a/cds-regression-test/test/py-executor/failing-script/expected-response.json b/cds-regression-test/test/py-executor/failing-script/expected-response.json deleted file mode 100644 index 17148b0..0000000 --- a/cds-regression-test/test/py-executor/failing-script/expected-response.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "commonHeader": { - "timestamp": "2020-05-19T17:24:33.353Z", - "originatorId": "System", - "requestId": "123456", - "subRequestId": "1234-12234", - "flags": null - }, - "actionIdentifiers": { - "blueprintName": "RT-py-executor", - "blueprintVersion": "1.0.0", - "actionName": "failing-remote-python", - "mode": "sync" - }, - "status": { - "code": 500, - "eventType": "EVENT_COMPONENT_FAILURE", - "timestamp": "2020-05-19T17:24:33.370Z", - "errorMessage": "Failed in ComponentRemoteScriptExecutor : UNKNOWN: Exception iterating responses: Script raised an exception, failed to get execution property(node_templates/execute-failing-remote-python/attributes/status)", - "message": "failure" - }, - "payload": { - "failing-remote-python-response": {} - } -} diff --git a/cds-regression-test/test/py-executor/failing-script/request-payload.json b/cds-regression-test/test/py-executor/failing-script/request-payload.json deleted file mode 100644 index bacd876..0000000 --- a/cds-regression-test/test/py-executor/failing-script/request-payload.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "commonHeader": { - "originatorId": "System", - "requestId": "123456", - "subRequestId": "1234-12234" - }, - "actionIdentifiers": { - "blueprintName": "RT-py-executor", - "blueprintVersion": "1.0.0", - "actionName": "failing-remote-python", - "mode": "sync" - }, - "payload": { - "failing-remote-python-request": {} - } -} diff --git a/cds-regression-test/test/py-executor/failing-script/test.sh b/cds-regression-test/test/py-executor/failing-script/test.sh deleted file mode 100644 index 4386e09..0000000 --- a/cds-regression-test/test/py-executor/failing-script/test.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -CBA_NAME="py-executor" -TEST_NAME="failing-script" -TEST_NUMBER=$RANDOM - -mkdir -p "$RESPONSES_DIRECTORY/$CBA_NAME/$TEST_NAME/$TEST_NUMBER/" -RESPONSE_HEADERS_FILE="$RESPONSES_DIRECTORY/$CBA_NAME/$TEST_NAME/$TEST_NUMBER/response-headers" -RESPONSE_PAYLOAD_FILE="$RESPONSES_DIRECTORY/$CBA_NAME/$TEST_NAME/$TEST_NUMBER/response-payload" - -REQUEST_PAYLOAD_FILE="$TEST_DIRECTORY/$CBA_NAME/$TEST_NAME/request-payload.json" -EXPECTED_PAYLOAD_FILE="$TEST_DIRECTORY/$CBA_NAME/$TEST_NAME/expected-response.json" - -. ./$TEST_DIRECTORY/utils.sh - -echo "Running test: $CBA_NAME:$TEST_NUMBER:$TEST_NAME" - -echo 'Calling CDS process' -process_cba $REQUEST_PAYLOAD_FILE $RESPONSE_PAYLOAD_FILE $RESPONSE_HEADERS_FILE - -echo 'Assert statuscode' -assert_status_code 500 $RESPONSE_HEADERS_FILE - -echo 'Assert payload' -assert_cds_response_equals $EXPECTED_PAYLOAD_FILE $RESPONSE_PAYLOAD_FILE |