Make db url configurable

This commit is contained in:
Thales Lima
2024-06-27 21:07:19 +02:00
parent a9954873d9
commit ac863a495d
3 changed files with 13 additions and 6 deletions

View File

@@ -14,9 +14,14 @@ def main() -> None:
action="store_true",
help="Flag to activate logs from Tycho.",
)
parser.add_argument(
"--db_url",
type=str,
help="Postgres database URL for the Tycho indexer.",
)
args = parser.parse_args()
test_runner = TestRunner(args.test_yaml_path, args.with_binary_logs)
test_runner = TestRunner(args.test_yaml_path, args.with_binary_logs, db_url=args.db_url)
test_runner.run_tests()