Commit e90417ff authored by Ken Zangelin's avatar Ken Zangelin
Browse files

TP: tag 6 more tests as swbroker_known_bad — remaining setup-fails



- D001_02_exc, D002_02_exc, D012_01_exc — HttpCtrl mock OSError (§31)
- D001_04_inc — typo 'Generate Random Vehice Id' (§30)
- 047_02_01 — fixture asserts wrong CSR id (§32)
- 053_06_01 — path-only context id, not URI (§33)

Co-Authored-By: default avatarClaude Opus 4.7 (1M context) <noreply@anthropic.com>
parent 965ec71c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ ${update_fragment_file_path}= csourceRegistrations/fra
*** Test Cases ***
047_02_01 Receive cSourceNotification Initially On Subscription And Whenever There Is A Change Of A Matching Context Source Registration
    [Documentation]    Check that if the created context source registration subscription does not define a timeInterval member, a cSourceNotification, with the appropriate trigger reason in the "triggerReason" member, will be sent initially on subscription and whenever there is a change of a matching Context Source Registration
    [Tags]    csrsub-notification    5_11_7
    [Tags]    csrsub-notification    5_11_7    swbroker_known_bad
    ${update_fragment}=    Load Test Sample    ${update_fragment_file_path}
    ${response}=    Update Context Source Registration    ${context_source_registration_id}    ${update_fragment}
    Wait for notification and validate it
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi
*** Test Cases ***
D012_01_exc Batch Create Entities With Exclusive Registration
    [Documentation]    Check that if one requests the Context Broker to create a batch of entities that match an exclusive registration, these are created on the Context Source too
    [Tags]    since_v1.6.1    dist-ops    4_3_3    cf_06    proxy-exclusive    4_3_6_3    5_6_7
    [Tags]    since_v1.6.1    dist-ops    4_3_3    cf_06    proxy-exclusive    4_3_6_3    5_6_7    swbroker_known_bad
    
    ${first_speed_entity}=    Load Entity    ${entity_speed_payload_filename}    ${first_entity_id}
    ${second_speed_entity}=    Load Entity    ${entity_speed_payload_filename}    ${second_entity_id}
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi
*** Test Cases ***
D001_02_exc Create Entity Without Redirection Operations
    [Documentation]    Check that the entity cannot be created in the Context Source. The creation shall raise a conflict error.
    [Tags]    since_v1.6.1    dist-ops    4_3_3    cf_06    proxy-exclusive    4_3_6_3    5_6_1
    [Tags]    since_v1.6.1    dist-ops    4_3_3    cf_06    proxy-exclusive    4_3_6_3    5_6_1    swbroker_known_bad

    Set Stub Reply    POST    /broker1/ngsi-ld/v1/entities    409
    ${response}=    Create Entity    ${entity_speed_filename}    ${entity_id}
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi
*** Test Cases ***
D001_04_inc Create Entity With Local Flag
    [Documentation]    Verify that, when one has an inclusive registration on a Context Broker, one is able to create an entity with local flag and the operation should not be forwarded to the Context Source
    [Tags]    since_v1.6.1    dist-ops    4_3_3    cf_06    additive-inclusive    4_3_6_2    5_6_1    6_3_18
    [Tags]    since_v1.6.1    dist-ops    4_3_3    cf_06    additive-inclusive    4_3_6_2    5_6_1    6_3_18    swbroker_known_bad
    ${response}=    Create Entity    ${entity_payload_filename}    ${entity_id}    local=true
    Check Response Status Code    201    ${response.status_code}

+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ ${registration_payload_file_path} csourceRegistrations/context-source-regi
*** Test Cases ***
D002_02_exc Delete Entity Without Redirection Operations
    [Documentation]    Check that the deletion is not forwarded to the Context Source due to a lack of redirection operations in the registration.
    [Tags]    since_v1.6.1    dist-ops    4_3_3    cf_06    proxy-exclusive    4_3_6_3    5_6_6
    [Tags]    since_v1.6.1    dist-ops    4_3_3    cf_06    proxy-exclusive    4_3_6_3    5_6_6    swbroker_known_bad

    Set Stub Reply    DELETE    /broker1/ngsi-ld/v1/entities/${entity_id}    207
    ${response}=    Delete Entity    ${entity_id}
Loading