Skip to content

exec_time calculation error in the absence of tests #5

New issue

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

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

Already on GitHub? # to your account

Closed
PawelSuwinski opened this issue Jan 22, 2021 · 0 comments · Fixed by #3
Closed

exec_time calculation error in the absence of tests #5

PawelSuwinski opened this issue Jan 22, 2021 · 0 comments · Fixed by #3

Comments

@PawelSuwinski
Copy link
Contributor

Traceback (most recent call last):
  File "./check_selenium_docker.py", line 70, in <module>
    exec_time = int(str(json_input['testResults'][0]['endTime'])[:-3]) - int(str(json_input['startTime'])[:-3])
IndexError: list index out of range

PawelSuwinski added a commit to PawelSuwinski/check_selenium_docker that referenced this issue Jan 22, 2021
@msafdal msafdal linked a pull request Jan 25, 2021 that will close this issue
msafdal pushed a commit that referenced this issue Jan 25, 2021
* configurable timeout option

* configurable timeout option

* fix exec_time calculation error on zero tests

Fixes  #5

* lost commit rollback
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant