Skip to content

Complete version injection tests coverage by also checking the ngap build. #153

@ndp-opendap

Description

@ndp-opendap

Overview

We don't run the regressions_tests_script.sh on NGAP builds, rather we use test_image_starts_without_crashing.sh (Did it start? Woo!) and then relying on the downstream NGAP CICD running to run the actual hyrax_regression_tests. But that silently skips running either of the other tests in regressions_tests_script.sh. I think the check_version() test could be utilized in test_image_starts_without_crashing.sh

The tests in check_version() that involve accessing the running server using cURL will fail because the auth stuff will be broken on our TravisCI deployment. Probably just the parts of check_version() that use docker commands to inspect the image will be available.

Naming

Consider either renaming regressions_tests_script.sh to something like test_suite.sh and integrate test_image_starts_without_crashing.sh into it.
OR
Decompose regressions_tests_script.sh functions into single purpose shell scripts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions