A bug showing in CTT subscription priority test

Questions regarding the use of the C++ SDK for Server or Client development or integration into customer products ...

Moderator: uasdkcpp

Post Reply
stdh94sul3
Sr. Member
Sr. Member
Posts: 12
Joined: 11 Oct 2016, 02:56

A bug showing in CTT subscription priority test

Post by stdh94sul3 »

Hi SupportTeam,

We run the CTT test by using SDK 1.5.4 and find a randomly occurring error.
In the test: Subscription Services > Subscription Minimum 02 > 003.js (Subscription with higher priority)

There is a very small chance (<5%) that makes test failed in our embedded system.
The situation happened when the following condition is matched.
The first publish request triggered lets a subscription taken out of subscription list to execute the publish().
After a OpcUa_Endpoint_EndSendResponse() is called, the second publish request is coming.
The moment is right between OpcUa_Endpoint_EndSendResponse() and queueSubscriptionForPublish(),
which means a subscription with hasMoreNotifications is still outside from the subscription list.
Therefore, it wasn't a candidate for selecting by the second publish request. But it should be one of candidates in fact.

Is any way to resolve this problem? Thank you.

User avatar
Support Team
Hero Member
Hero Member
Posts: 3071
Joined: 18 Mar 2011, 15:09

Re: A bug showing in CTT subscription priority test

Post by Support Team »

Hello stdh94sul3,

this is a more complex problem that needs to be discussed with the developer.
Could you please send this issue as a support request on the via the webformular at
https://www.unified-automation.com/support.html

Sorry for the slow response.
Support requests from customers with a valid license are processed with a higher priority.
Best regards
Unified Automation Support Team

stdh94sul3
Sr. Member
Sr. Member
Posts: 12
Joined: 11 Oct 2016, 02:56

Re: A bug showing in CTT subscription priority test

Post by stdh94sul3 »

OK. Thank you.

Post Reply