Project

General

Profile

Actions

Integration tests vs CDB outage

  • MAUS test server jobs all failed due to CDB outage
  • This is an undesirable feature
  • Propose rule that unit tests should not be dependent on external servers etc
    • Test cdb code using mock-up of the cdb API
  • Split integration tests and run as a separate test job triggered by successful build and unit tests
    • Integration tests will need to be split anyway - we will need load tests soon
    • so at the moment the test server job goes
  1. test using prebuilt 3rd party including unit tests and integration tests (run install_build_test.bash $THIRDPARTYDIR)
  2. rebuild 3rd party and including unit tests and integration tests (run install_build_test.bash)
  • New test server jobs would be
  1. build and unit test using prebuilt 3rd party including unit tests (run install_build_test.bash)
  2. rebuild 3rd party; build and unit test; integration test (run install_build_test.bash; tests/integration_tests.bash)
  • We accept the second job may fail if some external servers die

Updated by Rogers, Chris over 8 years ago ยท 4 revisions