Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve ct_master #8946

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Improve ct_master #8946

wants to merge 7 commits into from

Commits on Oct 16, 2024

  1. ct_master: Don't refresh logs at the end of run

    The ct_run:run_test function already takes care of the
    node's logs. The ct_master_logs module takes care of
    ct_master itself.
    essen committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    8be946d View commit details
    Browse the repository at this point in the history
  2. ct_master: Fix the master_runs.html css file paths

    Needed to file:set_cwd like in normal CT.
    essen committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    9ca4b7a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    63af8ed View commit details
    Browse the repository at this point in the history
  4. ct_master: Handle all testspec instructions

    Before this commit the CT docs were lying as ct_master only
    handled a small number of testspec instructions. This commit
    fixes that.
    essen committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    87e5575 View commit details
    Browse the repository at this point in the history
  5. ct_master: Sort the results printout from ct_master

    It makes more sense to sort by node name, than to have
    the results in the order they finished.
    essen committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    47c98c1 View commit details
    Browse the repository at this point in the history
  6. ct_master: Return results from ct_master:run

    Breaking change: instead of returning just `ok` to indicate
    that the spec file was handled, we return an OK tuple with
    the results of the tests (number of successful, failed,
    user and auto skipped tests). This allows the caller to
    know whether any test error occurred.
    essen committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    68a158c View commit details
    Browse the repository at this point in the history
  7. ct_master: Print auto-skipped and failed test cases

    At the end of a ct_master run. This uses the builtin
    CT Master event handler to gather the results.
    essen committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    fd46027 View commit details
    Browse the repository at this point in the history