putStandAlone Exception Testing

Test Objectives

This test exercises exceptions in eventmonAPI and handling of multidim data for putStandAlone command.

The LDAS APIs affected by this test are:

Setup

Choose a directory to install the tests scripts. e.g. /ldas_usr/ldas/test/database

Test Execution

The test should be run from your ldas platform where there is a database server running e.g. metaserver or if on a standalone box, the same machine. Change to the scripts directory to execute it. The test executes the script deldmt.tcl to clear out any relevant data in the database you are going to do insertion to obtain a clear start before a command that inserts data e.g.


        
        db2=/usr2/ldasdb/sqllib/bin/db2
        BEGN: 05/29/03 10:52:39 PDT metaserver 10.16.0.2 43804
        WAIT: 40000
        STAT: Clear 05-29-2003 10:52:39
        site gateway
        clearing data from database
        remove unix_procid 10804
        deldmt.tcl performs the following:
        1. Selects the process table for process matching =
        2. Deletes the children tables process_params,  gds_trigger and segment that reference the 
        process;
        3. Deletes the process row ...
        
Usage: putStandAlone <dsname> >& putStandAlone.log &

Option Description
<dsname> database name at a site e.g. ldas_tst

Test Validation

Verify all tests match expected response.

        13 passed, 0 failed