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

src/teuthology_api/suite: Modify how we handle Error and Success runs #51

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on May 10, 2024

  1. src/teuthology_api/suite: Modify how we handle Error and Success runs

    The changes includes:
    
    1. make suite route return
    {"run": run_details, "logs": logs, "job_count": job_count}
    
    2. Improve how we handle Exception by utilizing Queue from
    python multiprocessing library.
    
    3. Set the timeout for the process to be 180 seconds, if teuthology
    doesn't respond back within that time, then we return a Process Timeout
    
    Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
    kamoltat committed May 10, 2024
    Configuration menu
    Copy the full SHA
    9acc7cb View commit details
    Browse the repository at this point in the history
  2. .gitignore: Add .env to gitignore

    Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
    kamoltat committed May 10, 2024
    Configuration menu
    Copy the full SHA
    4cb256a View commit details
    Browse the repository at this point in the history
  3. tests/test_suite.py modify test_suite_run_success

    Added job counts to unittest.
    
    Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
    kamoltat committed May 10, 2024
    Configuration menu
    Copy the full SHA
    8d07315 View commit details
    Browse the repository at this point in the history