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

Optionally ignore TestRail HTTP errors #62

Open
treyturner opened this issue Aug 17, 2022 · 0 comments
Open

Optionally ignore TestRail HTTP errors #62

treyturner opened this issue Aug 17, 2022 · 0 comments

Comments

@treyturner
Copy link

treyturner commented Aug 17, 2022

Today our pipeline broke because of a TestRail outage: https://testrail.statuspage.io/incidents/0rwfbww0yz70

creating new TestRail run for project 1
Could not create a new TestRail run
Response: HTTPError
Please check your TestRail configuration

Exited with code exit status 1

It would be nice if there were flags that could be supplied to the reporter to gracefully handle this situation. Each would operate independently:

testrail-start-run: If flag is passed and communication with TestRail is unsuccessful, exit with code 0 and don't print a value, or print 0 (not a valid test run id).

test: If flag is passed and no test run ID (or test run ID 0) is supplied, display an error but continue execution.

testrail-close-run:

  • If flag is passed and no test run ID (or test run ID 0) is supplied, display an error and exit with code 0.
  • If flag is passed and communication with TestRail is unsuccessful, exit with code 0 and print a message indicating as such.

Thanks for your work on this reporter and your consideration.

@treyturner treyturner changed the title Ignore testrail http errors Optionally ignore TestRail HTTP errors Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant