DC mean test

Test Objectives

APIs affected by this test

Setup

dc mean test is usually run as part of the dataPipeline Loops where there is built in checking for the memory value. The test passes if the value is within the expexcted limits.

Test Execution

cd <your scripts directory>

Usage: onejob.tcl [options] -f dcmean.rds >& dcmean.log &

Option Description
<-s> ldas site e.g. dev, lho, ldas-suntest3

e.g.


            onejob.tcl -s dev -f dcmean.rds >& dcmean.log &
            onejob.tcl -s dev -f dcmean.cmd >& dcmean.log &
        

Test Validation:

  • The conditionData job should complete successfully.
  • The result ilwd from the dataPipeline has the mean value for Adc Data of channel H1:LSC-AS_Q e.g.
    
            
                
                    -2.2270608572370154e-03
            
            
    If this value is -2.2270608572370152e-03, the test passes.