Commit 26edb243 authored by Ken Zangelin's avatar Ken Zangelin Committed by Ken Zangelin
Browse files

fix: test-suite bugs in D001_04_inc, D002_01_red, D017_01_*, 053_06

parent 25e461e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ D001_04_inc Create Entity With Local Flag

*** Keywords ***
Setup Entity Id And Registration And Start Context Source Mock Server
    ${entity_id}=    Generate Random Vehice Id
    ${entity_id}=    Generate Random Vehicle Entity Id
    Set Suite Variable    ${entity_id}

    ${registration_id}=    Generate Random CSR Id
+2 −2
Original line number Diff line number Diff line
@@ -25,8 +25,8 @@ D002_01_red Delete Entities On Both Context Sources
    [Documentation]    Verify that, when one has a redirect registration on a Context Broker, one is able to delete entities on both Context Sources
    [Tags]    since_v1.6.1    dist-ops    4_3_3    cf_06    proxied-redirect    4_3_6_3    5_6_6

    Set Stub Reply  POST    /broker1/ngsi-ld/v1/entities/${entity_id}    201
    Set Stub Reply  POST    /broker2/ngsi-ld/v1/entities/${entity_id2}    201
    Set Stub Reply  POST    /broker1/ngsi-ld/v1/entities    201
    Set Stub Reply  POST    /broker2/ngsi-ld/v1/entities    201

    ${response}=    Create Entity    ${entity_payload_filename}    ${entity_id}
    Check Response Status Code    201    ${response.status_code}
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ Create Initial @context condition from an external server
    ${first_existing_entity_id}=    Generate Random Id    ${testing_id_prefix}
    Set Global Variable    ${first_existing_entity_id}

    # ${uri}=    Catenate    http://${context_server_host}:${context_server_port}${uri}
    ${uri}=    Catenate    SEPARATOR=    http://${context_server_host}:${context_server_port}    ${uri}
    Set Global Variable    ${uri}

    Create Entity selecting @context    ${entityfile}    ${uri}    ${first_existing_entity_id}
+1 −1
Original line number Diff line number Diff line
@@ -386,7 +386,7 @@ Purge Entities
    END
    ${final_url}=    Set Variable If    '${broker_url}' != ''    ${broker_url}    ${url}
    ${response}=    DELETE
    ...    url=${final_url}${ENTITIES_ENDPOINT_PATH}
    ...    url=${final_url}/${ENTITIES_ENDPOINT_PATH}
    ...    headers=${headers}
    ...    params=${params}
    ...    expected_status=any

testsuite-doubts.md

0 → 100644
+2294 −0

File added.

Preview size limit exceeded, changes collapsed.