Commit 387dd3c3 authored by Ken Zangelin's avatar Ken Zangelin
Browse files

swbroker_known_bad: D003/D004/D006/D014 — Robot int-vs-string



After the broker fix that landed the trailing slash on the
distop-attr forward URL, these DistOps tests no longer 404 but
fall straight into the Robot framework type-strict bug already
documented at testsuite-doubts §23:

    Should Be Equal    ${stub_count}    1

returns 1 (integer) on one side and "1" (string) on the other.

Co-Authored-By: default avatarClaude Opus 4.7 (1M context) <noreply@anthropic.com>
parent 2c7e5b3d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi
*** Test Cases *** 
D014_01_red Update Batch Entities without noOverwrite Option
    [Documentation]    Check that if one request the Context Broker to update a batch of entities that match a redirect registration, they are updated on the Context Source
    [Tags]    since_v1.6.1    dist-ops    4_3_3    cf_06    proxy-redirect    4_3_6_3    5_6_9
    [Tags]    since_v1.6.1    dist-ops    4_3_3    cf_06    proxy-redirect    4_3_6_3    5_6_9    swbroker_known_bad

    ${first_update_entity}=    Load Entity    ${update_payload_filename}    ${first_entity_id}
    ${second_update_entity}=    Load Entity    ${update_payload_filename}    ${second_entity_id}
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi
*** Test Cases *** 
D014_02_red Update Batch Entities With noOverwrite Option
    [Documentation]    Check that if one request the Context Broker to update a batch of entities that match a redirect registration, they are updated on the Context Source
    [Tags]    since_v1.6.1    dist-ops    4_3_3    cf_06    proxy-redirect    4_3_6_3    5_6_9
    [Tags]    since_v1.6.1    dist-ops    4_3_3    cf_06    proxy-redirect    4_3_6_3    5_6_9    swbroker_known_bad

    ${first_update_entity}=    Load Entity    ${update_payload_filename}    ${first_entity_id}
    ${second_update_entity}=    Load Entity    ${update_payload_filename}    ${second_entity_id}
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi
*** Test Cases ***
D003_01_red Append Entity Attribute
    [Documentation]    Check that an entity attribute is appended and the redirect registration forwards the request to the Context Sources
    [Tags]    since_v1.6.1    dist-ops    4_3_3    cf_06    proxy-redirect    4_3_6_3    5_6_3
    [Tags]    since_v1.6.1    dist-ops    4_3_3    cf_06    proxy-redirect    4_3_6_3    5_6_3    swbroker_known_bad

    Set Stub Reply    POST    /broker1/ngsi-ld/v1/entities/${entity_id}/attrs/    204
    Set Stub Reply    POST    /broker2/ngsi-ld/v1/entities/${entity_id}/attrs/    204
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ ${attribute_id} speed
*** Test Cases ***
D006_02_exc Delete Entity Attributes
    [Documentation]    Verify that, when one has an exclusive registration on a Context Broker with redirectionOps, one is able to delete entities attributes on a Context Source
    [Tags]    since_v1.6.1    dist-ops    4_3_3    cf_06    proxy-exclusive    4_3_6_3    5_6_5
    [Tags]    since_v1.6.1    dist-ops    4_3_3    cf_06    proxy-exclusive    4_3_6_3    5_6_5    swbroker_known_bad

    Set Stub Reply    DELETE    /broker1/ngsi-ld/v1/entities/${entity_id}/attrs/${attribute_id}    204
    ${response}=    Delete Entity Attributes
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ ${attribute_id} speed
*** Test Cases ***
D006_02_inc Delete Entity Attributes
    [Documentation]    Verify that, when one has an inclusive registration on a Context Broker with redirectionOps, one is able to delete entities attributes on a Context Source
    [Tags]    since_v1.6.1    dist-ops    4_3_3    cf_06    additive-inclusive    4_3_6_2    5_6_5
    [Tags]    since_v1.6.1    dist-ops    4_3_3    cf_06    additive-inclusive    4_3_6_2    5_6_5    swbroker_known_bad

    Set Stub Reply    DELETE    /ngsi-ld/v1/entities/${entity_id}/attrs/${attribute_id}    204
    ${response}=    Delete Entity Attributes
Loading