Commit 78496256 authored by kzangeli's avatar kzangeli
Browse files

swbroker_known_bad: tag 5 tests — hardcoded sysAttrs + CSR-sub fixture drift

046_24_01, 046_28_01 — expectation files hardcode createdAt/modifiedAt
timestamps that no broker can satisfy (doubts #14 / #35 / #14).

038_01_01, 039_01_01, 040_01_01 — CSR-Subscription create/update/retrieve
fixtures predate notificationTrigger + status + timesFailed (added in
post-1.6.1 spec revisions); broker emits the spec-defaulted fields and
deep-diff flags them (doubts #36 / #45 / #53).

Tag-only; testsuite-doubts.md tracks the root causes.
parent 48916843
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ ${entity_expectation_file_path}= entity-created-name-attribute-join-flat-
*** Test Cases ***
046_24_01 Check That A Notification Is Sent With Linked Entity In Flat Representation With sysAttrs
    [Documentation]    Create an attribute in linking entity and check the notification contains linked entity with sysAttrs
    [Tags]    sub-notification    4_5_23    5_8_6    since_v1.8.1
    [Tags]    sub-notification    4_5_23    5_8_6    since_v1.8.1    swbroker_known_bad

    ${response}=    Update Entity Attributes    ${linking_entity_id}    ${fragment_filename}    ${CONTENT_TYPE_LD_JSON}
    Check Response Status Code    204    ${response.status_code}
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ ${entity_expectation_file_path}= entity-created-name-attribute-join-inlin
*** Test Cases ***
046_28_01 Check That A Notification Is Sent With Linked Entity In Inline Representation With sysAttrs
    [Documentation]    Create an attribute in linking entity and check the notification contains linked entity with sysAttrs
    [Tags]    sub-notification    4_5_23    5_8_6    since_v1.8.1
    [Tags]    sub-notification    4_5_23    5_8_6    since_v1.8.1    swbroker_known_bad

    ${response}=    Update Entity Attributes    ${linking_entity_id}    ${fragment_filename}    ${CONTENT_TYPE_LD_JSON}
    Check Response Status Code    204    ${response.status_code}
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ ${subscription_payload_file_path}= csourceSubscriptions/subscription.jsonld
*** Test Cases ***
038_01_01 Create Context Source Registration Subscription
    [Documentation]    Check that one can create a minimal context source registration subscription
    [Tags]    csrsub-create    5_11_2
    [Tags]    csrsub-create    5_11_2    swbroker_known_bad
    ${subscription_payload}=    Load Test Sample    ${subscription_payload_file_path}    ${subscription_id}
    ${response}=    Create Context Source Registration Subscription    ${subscription_payload}
    Check Response Status Code    201    ${response.status_code}
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ ${expectation_file_path}= csourceSubscriptions/expectations/subscr
*** Test Cases ***
040_01_01 Retrieve Context Source Registration Subscription
    [Documentation]    Check that one can retrieve a context source registration subscription
    [Tags]    csrsub-retrieve    5_11_4
    [Tags]    csrsub-retrieve    5_11_4    swbroker_known_bad
    ${response}=    Retrieve Context Source Registration Subscription
    ...    subscription_id=${subscription_id}
    ...    context=${ngsild_test_suite_context}
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ ${subscription_update_fragment_file_path}= csourceSubscriptions/fragments/s
*** Test Cases ***
039_01_01 Update Context Source Registration Subscription
    [Documentation]    Check that one can update a context source registration subscription
    [Tags]    csrsub-update    5_11_3
    [Tags]    csrsub-update    5_11_3    swbroker_known_bad
    ${subscription_update_fragment}=    Load Test Sample    ${subscription_update_fragment_file_path}
    ${response}=    Update Context Source Registration Subscription
    ...    ${subscription_id}