View Issue Details

IDProjectCategoryView StatusLast Update
0007477Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2022-01-03 18:42
ReporterHock, Christian Assigned ToSebastian Allmendinger  
PriorityurgentSeveritymajorReproducibilityrandom
Status closedResolutionfixed 
Product Version1.04.09.400 
Fixed in Version1.03.341.401 
Summary0007477: Subscription Minimum 1/001.js script fails randomly
Description

The problem is that the server has not always a new sample after the PublishingInterval has elapsed. The reason seems that the MaxKeepAliveCount == 1 explicitly set in this script.

TagsNo tags attached.
Files Affected

Activities

Sebastian Allmendinger

2022-01-03 06:27

developer   ~0015655

An updated test script is ready for review that should be more reliable to servers that may not always be able to guarantee the requested/revised sampling rate.
3 changes have been done, each one by itself should resolve the issue.
Because the test script does not validate any timings, the KeepAliveCount of the subscription has been increased from 1 to 3. If the server was not able to sample a new value within one publishing interval, the server does not need to provide a KeepAlive which cause the test script to fail.
In addition the test script waits one PublishingInterval/SamplingInterval (whatever is slower) between the write requests.
Finally the test script issues Publish up to 10 times to get the intitiated data change before aborting the test.

Paul Hunkar

2022-01-03 18:42

administrator   ~0015657

reviewed in call, agreed to changes and closed issue

Issue History

Date Modified Username Field Change
2021-12-17 09:59 Hock, Christian New Issue
2021-12-17 15:51 Paul Hunkar Assigned To => Sebastian Allmendinger
2021-12-17 15:51 Paul Hunkar Status new => assigned
2022-01-03 06:27 Sebastian Allmendinger Status assigned => resolved
2022-01-03 06:27 Sebastian Allmendinger Resolution open => fixed
2022-01-03 06:27 Sebastian Allmendinger Fixed in Version => 1.03.341.401
2022-01-03 06:27 Sebastian Allmendinger Note Added: 0015655
2022-01-03 18:42 Paul Hunkar Status resolved => closed
2022-01-03 18:42 Paul Hunkar Note Added: 0015657