subunit2sql/releasenotes/notes/subunit2sql_run_at_cli_opt-ab65e3b69b29e0b0.yaml
Matthew Treinish dee1f2c18a Add support to subunit2sql cli to specify a run_at time
This commit adds support to the subunit2sql cli command to specify the
run_at field for a run being created. The db api has had support for
this for quite some time but it was never exposed through the CLI.
This resulted in the default behavior of using utcnow() to set the
run_at column for a created run. However, if you're trying to insert
old runs into the DB this isn't ideal because it will look like the
test results were recent. This commit enables users to specify a
different run_at time for these use cases.

Change-Id: I0c00ef71633e043c9d80adf0bc2df0157d1a11b3
2015-11-30 22:40:41 +00:00

7 lines
290 B
YAML

---
features:
- A new CLI option, "run_at" is available on the subunit2sql CLI. This
enables setting a specific date and time to use for the run_at column
of the run being created. If one is not specified the previous default
behavior of using the current time is still used.