View Issue Details

IDProjectCategoryView StatusLast Update
0004733Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2020-04-24 17:20
ReporterBernd Edlinger Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.03.341.389 
Target Version1.03Fixed in Version1.03.341.391 
Summary0004733: Monitored Item Services/Monitor Triggering/initialize.js leaks one session
Description

If the initialize.sh test case stops the current unit the session is leaked.
since the cleanup.sh is not executed in that case.
Fix, call Test.Disconnect before stopCurrentUnit:

if( !Test.Connect() ) stopCurrentUnit();
else {
MonitorTriggeringSubscription.RevisedLifetimeCount = 100; // long timeout needed for this CU
if( !CreateSubscriptionHelper.Execute( { Subscription: MonitorTriggeringSubscription } ) ||
!SetTriggeringHelper.Execute( { SubscriptionId: MonitorTriggeringSubscription, TriggeringItemId: scalarItems[0], LinksToAdd: [scalarItems[0]], ServiceResult: new ExpectedAndAcceptedResults( [ StatusCode.BadMonitoredItemIdInvalid ] ) } ) )
{ Test.Disconnect(); stopCurrentUnit(); }
}

TagsNo tags attached.
Files Affected

Activities

Alexander Allmendinger

2019-10-28 11:12

developer   ~0011178

Script is now closing the session if SetTriggering CU is being skipped.

Internal: Fix already committed in 4th of September.

Paul Hunkar

2020-04-24 17:20

administrator   ~0011989

review in CMP call

Issue History

Date Modified Username Field Change
2019-04-17 19:37 Bernd Edlinger New Issue
2019-04-19 15:09 Paul Hunkar Product Version => 1.03.341.389
2019-04-19 15:09 Paul Hunkar Target Version => 1.03
2019-04-19 15:10 Paul Hunkar Assigned To => Alexander Allmendinger
2019-04-19 15:10 Paul Hunkar Status new => assigned
2019-10-28 11:12 Alexander Allmendinger Status assigned => resolved
2019-10-28 11:12 Alexander Allmendinger Resolution open => fixed
2019-10-28 11:12 Alexander Allmendinger Fixed in Version => 1.03.341.391
2019-10-28 11:12 Alexander Allmendinger Note Added: 0011178
2020-04-24 17:20 Paul Hunkar Status resolved => closed
2020-04-24 17:20 Paul Hunkar Note Added: 0011989