Unverified Commit ac20458a authored by AutonomousHansen's avatar AutonomousHansen Committed by GitHub

Changes run_all_tests.py --timeout argument to be an int (#408)

# Description

Specifies that the `--timeout` argument to `run_all_tests.py` is an int

Fixes #407 

## Type of change


- Bug fix (non-breaking change which fixes an issue)

## Checklist

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./orbit.sh --format`
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] I have run all the tests with `./orbit.sh --test` and they pass
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------
Signed-off-by: 's avatarAutonomousHansen <50837800+AutonomousHansen@users.noreply.github.com>
Co-authored-by: 's avatarjsmith-bdai <142246516+jsmith-bdai@users.noreply.github.com>
Co-authored-by: 's avatarMayank Mittal <12863862+Mayankm96@users.noreply.github.com>
parent 819a9c75
...@@ -48,7 +48,7 @@ def parse_args() -> argparse.Namespace: ...@@ -48,7 +48,7 @@ def parse_args() -> argparse.Namespace:
) )
parser.add_argument("--discover_only", action="store_true", help="Only discover and print tests, don't run them.") parser.add_argument("--discover_only", action="store_true", help="Only discover and print tests, don't run them.")
parser.add_argument("--quiet", action="store_true", help="Don't print to console, only log to file.") parser.add_argument("--quiet", action="store_true", help="Don't print to console, only log to file.")
parser.add_argument("--timeout", default=600, help="Timeout for each test in seconds.") parser.add_argument("--timeout", type=int, default=600, help="Timeout for each test in seconds.")
# parse arguments # parse arguments
args = parser.parse_args() args = parser.parse_args()
return args return args
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment