View Issue Details

IDProjectCategoryView StatusLast Update
0006146Compliance Test Tool (CTT) Unified Architecture4 - Test Case Definitionpublic2021-03-30 14:39
ReporterMatthias Damm Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.03.341.397 
Summary0006146: Expected result for 'Subscription Client Republish' - Err-004 makes no sense
Description

Test Case:
Randomly inject one of the following code. Repeat this test several times each tmie varying the result

  1. ServiceResult = Good, but the publishTime parameter uses a time in the future, i.e. Now + 1 day.
    2.ServiceResult = Good, but the publishTime parameter uses a time in the
    future, i.e. Now + 1 year.

Expected Result:
Client logs and/or displays a warning message stating that it is receiving events from the future.
Client by default should discard the data, unless the end-user selects an option to consume the data.

To log the unexpected timestamp makes sense.

But to discard the data makes no sense. We had the same discussion with the time stamps in the request/response headers. This test case expects that clocks are always synchronized. If not, the client would discard all data received from a server where the clock is in the future (or the client clock is not in sync).

If the client want to decide what to do with the values, it should check if the timestamps of the values make sense compared to the other received before. But the publishTime is not relevant for this decision.

TagsNo tags attached.
Files Affected

Activities

Paul Hunkar

2020-11-12 15:36

administrator   ~0013185

Agree to reword test case - logging is important, but second part just needs to go away

Alexander Allmendinger

2020-11-12 15:37

developer   ~0013186

Removed the expectation to discard data from the expected results

Paul Hunkar

2021-03-30 14:39

administrator   ~0014125

Reviewed in cmp call - Agreed to changes and closed

Issue History

Date Modified Username Field Change
2020-10-11 19:30 Matthias Damm New Issue
2020-11-12 15:35 Paul Hunkar Assigned To => Alexander Allmendinger
2020-11-12 15:35 Paul Hunkar Status new => assigned
2020-11-12 15:36 Paul Hunkar Note Added: 0013185
2020-11-12 15:37 Alexander Allmendinger Status assigned => resolved
2020-11-12 15:37 Alexander Allmendinger Resolution open => fixed
2020-11-12 15:37 Alexander Allmendinger Fixed in Version => 1.03.341.397
2020-11-12 15:37 Alexander Allmendinger Note Added: 0013186
2021-03-30 14:39 Paul Hunkar Status resolved => closed
2021-03-30 14:39 Paul Hunkar Note Added: 0014125