Test TimesTen for a Non-Replicated Configuration

To test TimesTen, a test Pod is created. It runs a script that attempts to connect to all of the TimesTen databases (the replicas) by using TimesTen's client/server access. If the script can connect to the database, the script then looks at internal metadata to verify that the database is functioning properly. If the test succeeds, the test Pod is deleted.

The test connects to the database as the test user. You define this test user in the testUser metadata file. This user has CONNECT privileges, but does not have any other privileges. This limits the test and the test user's access to the database. If you do not define a test user, the test fails.

The test verifies TimesTen databases are up and running and fully operational.

Let's test TimesTen.

  1. Confirm the ttclassic release.
    helm list

    The output is similar to the following:

    
    NAME            NAMESPACE       REVISION        UPDATED                                 STATUS          CHART                   APP VERSION
    norepsamplehelm default         1               2024-08-04 17:42:47.180635098 +0000 UTC deployed        ttclassic-2211270.1.0   22.1.1.26.0

    The norepsamplehelm release exists in your namespace.

  2. Test TimesTen.
    helm test norepsamplehelm
    The output is similar to the following:
    NAME: norepsamplehelm
    LAST DEPLOYED: Sun Aug  4 17:42:47 2024
    NAMESPACE: default
    STATUS: deployed
    REVISION: 1
    TEST SUITE:     norepsamplehelm-ttclassic-test
    Last Started:   Sun Aug  4 18:17:22 2024
    Last Completed: Sun Aug  4 18:17:26 2024
    Phase:          Succeeded
    NOTES:
    Version 2211270.1.0 of the ttclassic chart has been installed.
    
    This release is named "norepsamplehelm".
    
    To learn more about the release, try:
    
      $ helm status norepsamplehelm
      $ helm get all norepsamplehelm
      $ helm history norepsamplehelm
    
    To rollback to a previous version of the chart, run:
    
      $ helm rollback norepsamplehelm <REVISION>
        - run 'helm history norepsamplehelm' for a list of revisions.

    The test for the norepsamplehelm release succeeded.

Congratulations! You successfully tested TimesTen. TimesTen databases are up and running and fully operational.