#******************************************************************************* # ALMA - Atacama Large Millimiter Array # (c) Associated Universities Inc., 2002 # (c) European Southern Observatory, 2002 # Copyright by ESO (in the framework of the ALMA collaboration) # and Cosylab 2002, All rights reserved # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307 USA # # "@(#) $Id: TestList.lite,v 1.32 2012/10/13 18:06:06 tstaig Exp $" # # TestList # # who when what # -------- -------- ---------------------------------------------- # dave 2003-08-13 converted to eccs test driver # SOURCE acspyTATEnvironment PROLOGUE acspyTATPrologue #------------------------------------------------------------------- 00 UnitTests "acsutilTATTestRunner nosetests -v" 01 testQoSTimeout "acsutilAwaitContainerStart -py pyContainer" "@SLEEP 15" \ "acsutilTATTestRunner acspyTestQoSTimeout" "@SLEEP 25" \ "acsutilTATTestRunner acsStopContainer pyContainer" 02 ClientMin "acsutilTATTestRunner acspyTestClientMinimum" 03 ACSComponent "acsutilTATTestRunner acspyTestACSComponent" 04 Container "acsutilTATTestRunner acsStartContainer -py pyContainer" "@SLEEP 10" \ "acsutilTATTestRunner acspyTestContainer" "@SLEEP 20" \ "acsutilTATTestRunner acsStopContainer pyContainer" "@SLEEP 10" 05 ComponentLifeCycle "acsutilTATTestRunner acspyTestComponentLifecycle" 06 CS "acsutilTATTestRunner acspyTestContainerServices" 07 Baci "acsutilAwaitContainerStart -py pyContainer" "@SLEEP 15" \ "acsutilTATTestRunner acspyTestBaci" "@SLEEP 25" \ "acsutilTATTestRunner acsStopContainer pyContainer" 08 ContainerWithCDB "acsutilTATTestRunner acsStartContainer -py PyTestCDBContainer" "@SLEEP 10" \ "acsutilTATTestRunner acsStopContainer PyTestCDBContainer" "@SLEEP 10" 09 reloadComponent "acsutilTATTestRunner acsStartContainer -py pyContainer2" "@SLEEP 10" \ "acsutilTATTestRunner acspyTestCompReload" "@SLEEP 20" \ "acsutilTATTestRunner acsStopContainer pyContainer2" "@SLEEP 10" 10 testConsumerNoChannel "acsutilTATTestRunner acspyTestConsumer no_name 5 0" 11 testSupplierNoChannel "acsutilTATTestRunner acspyTestSupplier no_name 5" 12 testSupplierCDBChannel "acsutilTATTestRunner acspyTestSupplier cdb_channel 5" 13 testSupplierConsumer "acsutilTATTestRunner acspyTestConsumer no_name 15 1" "@SLEEP 2" \ "acsutilTATTestRunner acspyTestSupplier no_name 15" 14 testILSupplierConsumer "acsutilTATTestRunner acspyTestConsumer cdb_channelIL 15 1" "@SLEEP 2" \ "acsutilTATTestRunner acspyTestSupplier cdb_channelIL 15" 15 testArchiveConsumer "acsutilTATTestRunner acspyTestArchiveConsumerPS 15 1" 16 testArchiveSupplier "acsutilTATTestRunner acspyTestArchiveConsumer 15 11" "@SLEEP 3" "acsutilTATTestRunner acspyTestArchiveSupplier" "@SLEEP 60" 17 testLoggingConsumer "acsutilTATTestRunner acspyTestLoggingConsumer 15" 18 acspyTestContainerActivationMap "acsutilTATTestRunner acspyTestContainerActivationMap.py" 19 PyContainerLogStatsConfigurationTest "acsutilTATTestRunner acsutilAwaitContainerStart -py PyTestContainer" \ "@SLEEP 1" "acsutilTATTestRunner maciContainerLogStatsConfiguration PyTestContainer list" \ "@SLEEP 1" "acsutilTATTestRunner maciContainerLogStatsConfiguration PyTestContainer get PyTestContainer" \ "@SLEEP 1" "acsutilTATTestRunner maciContainerLogStatsConfiguration PyTestContainer set PyTestContainer -c Enable -n testName -p 700 -g 2" \ "@SLEEP 1" "acsutilTATTestRunner maciContainerLogStatsConfiguration PyTestContainer get PyTestContainer" \ "@SLEEP 1" "acsutilTATTestRunner maciContainerLogStatsConfiguration PyTestContainer set PyTestContainer -c Default"\ "@SLEEP 1" "acsutilTATTestRunner maciContainerLogStatsConfiguration PyTestContainer get PyTestContainer" 20 testSupplierConsumerCallback "acsutilTATTestRunner acspyTestConsumer no_name 15 1" "@SLEEP 2" \ "acsutilTATTestRunner acspyTestSupplierCallback no_name 15" # Check the reconnection of a publisher when autoreconnection is ON and its Notify Service is restarted. 21 testPublisherAutoreconnectNSRestarted "acsutilTATTestRunner acspyExecNotifyService.sh NotifyEventChannelFactory RESTART" "@SLEEP 4" \ "acsutilTATTestRunner acspyTestSupplierReconn test_reconn 20 AUTORECONNECT NS_RESTARTED" "@SLEEP 5" \ "acsutilTATTestRunner acspyExecNotifyService.sh NotifyEventChannelFactory RESTART" "@SLEEP 25" ## Check the reconnection of a publisher when autoreconnection is ON and its Notify Service is stopped. 22 testPublisherAutoreconnectNSStopped "acsutilTATTestRunner acspyExecNotifyService.sh NotifyEventChannelFactory RESTART" "@SLEEP 4" \ "acsutilTATTestRunner acspyTestSupplierReconn test_reconn 20 AUTORECONNECT NS_STOPPED" "@SLEEP 5" \ "acsutilTATTestRunner acspyExecNotifyService.sh NotifyEventChannelFactory STOP" "@SLEEP 25" # Check the reconnection of a publisher when autoreconnection is OFF and its Notify Service is restarted. 23 testPublisherNoAutoreconnectNSRestarted "acsutilTATTestRunner acspyExecNotifyService.sh NotifyEventChannelFactory RESTART" "@SLEEP 4" \ "acsutilTATTestRunner acspyTestSupplierReconn test_reconn 20 NO_AUTORECONNECT NS_RESTARTED" "@SLEEP 5" \ "acsutilTATTestRunner acspyExecNotifyService.sh NotifyEventChannelFactory RESTART" "@SLEEP 25" # Check the reconnection of a publisher when autoreconnection is OFF and its Notify Service is stopped. 24 testPublisherNoAutoreconnectNSStopped "acsutilTATTestRunner acspyExecNotifyService.sh NotifyEventChannelFactory RESTART" "@SLEEP 4" \ "acsutilTATTestRunner acspyTestSupplierReconn test_reconn 20 NO_AUTORECONNECT NS_STOPPED" "@SLEEP 5" \ "acsutilTATTestRunner acspyExecNotifyService.sh NotifyEventChannelFactory STOP" "@SLEEP 25" # Check the reconnection of consumers when autoreconnection is ON and its Notify Service is restarted 25 testConsumerAutoreconnectNSRestarted "acsutilTATTestRunner acspyExecNotifyService.sh NotifyEventChannelFactory RESTART" "@SLEEP 4" \ "acsutilTATTestRunner acspyTestConsumerReconn test_reconn 20 AUTORECONNECT NS_RESTARTED" #------------------------------------------------------------------- EPILOGUE acsutilTATEpilogue