Skip to content

Commit

Permalink
Verbose runtime summary option
Browse files Browse the repository at this point in the history
  • Loading branch information
kks32 committed Nov 3, 2023
1 parent e8cb8b5 commit 3b94b69
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dsjobs/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def runtime_summary(ag, job_id, verbose=False):
if not verbose:
filtered_statuses = {
"PENDING",
"PROCESSING_INPUTS",
"QUEUED",
"RUNNING",
"FINISHED",
"FAILED",
Expand Down
10 changes: 5 additions & 5 deletions tests/test_job_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ def test_runtime_summary_verbose_false(self):
expected_output_verbose_false = """
Runtime Summary
---------------
PENDING time: 0:00:03
PROCESSING_INPUTS time: 0:00:04
RUNNING time: 0:00:08
FINISHED time: 0:00:00
TOTAL time: 0:11:00
PENDING time: 0:00:03
QUEUED time: 0:00:26
RUNNING time: 0:00:08
FINISHED time: 0:00:00
TOTAL time: 0:11:00
---------------
""".strip()

Expand Down

0 comments on commit 3b94b69

Please sign in to comment.