Skip to content

Commit

Permalink
integ tests: pytest replace --root with --rootdir cli option
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco De Martino <fdm@amazon.com>
  • Loading branch information
demartinofra authored and lukeseawalker committed Jul 3, 2019
1 parent 8671928 commit ee6e04c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration-tests/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,11 @@ def _get_pytest_args(args, regions, log_file, out_dir):

if args.benchmarks:
pytest_args.append("--ignore=./tests")
pytest_args.append("--root=./benchmarks")
pytest_args.append("--rootdir=./benchmarks")
pytest_args.append("--benchmarks-target-capacity={0}".format(args.benchmarks_target_capacity))
pytest_args.append("--benchmarks-max-time={0}".format(args.benchmarks_max_time))
else:
pytest_args.append("--root=./tests")
pytest_args.append("--rootdir=./tests")
pytest_args.append("--ignore=./benchmarks")

# Show all tests durations
Expand Down

0 comments on commit ee6e04c

Please sign in to comment.