Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Excerpt

Describes how to configure a generic DK test environment.

 
Table of Contents

Startup

  1. ssh to the test system server:

    Code Block
    > ssh test@kbdevel@kb-prod-udv-001.kb.dk
    
  2. Set the global variables for your testcase:

    Code Block
    > export TESTX=TEST??; export PORT=807?; export MAILRECEIVERS=foo@bar.dk; export VERSION=5.1-RC1 ; export TIMESTAMP=????
     export H3ZIP=/home/devel/nas_versions/bundler/NetarchiveSuite-heritrix3-bundler-5.1-RC1.zip
    (optional arguments):
    export SKIPCLEANUP=1 (Just stop the test, don't remove its data - useful for just upgrading your system with a build)
    export SKIPDBINIT=1 (Don't reset the database for your system; just use the existing database as-is)

    Note that the VERSION value indicates, that the NAS zip file to use is /home/devel/nas_versions/NetarchiveSuite-${VERSION}.zip

 Start the test (general test, see specific test case for actual startup command)

Code Block
> all_test_db.sh

The NAS GUI can new be accessed at http://kb-test-adm-001.kb.dk:807?/.

Ensure the language is set to English before starting the test, so the string mentioned in the test specifications correspond to the text displayed in the deployed GUI.

Harvest DB

The harvest database for the standard release tests is based on a postgresql dump. This can be found in test@kb-prod-udv-001:bin/harvestdb.release_test.pgsql . This directory is a CVS working copy, so any alterations to the database can be committed directly from there. A new version of the database dump can be generated from any existing NAS instance using pg_dump: pg_dump -U test -d test<foobar>_harvestdb -f harvestdb.release_test.pgsql .

...

Person

Internal Port

Systemtest, functional

8071

Reserved for PLIGT

8072

Systemtest, performance

8073TRA

Reserved for PLIGTH3

8074

NICL

8075

TLR

8076

SVC

8077

CSR

8078

MSSJOLF

8079

Viewerproxy Setup

To use a viewerproxy in the test system

...