You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by mi...@apache.org on 2026/05/15 08:19:52 UTC
(datafusion-ballista) branch main updated: Saturate scheduler job elapsed time (#1708)
This is an automated email from the ASF dual-hosted git repository.
milenkovicm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-ballista.git
The following commit(s) were added to refs/heads/main by this push:
new 6a8701607 Saturate scheduler job elapsed time (#1708)
6a8701607 is described below
commit 6a87016077c718690f5155c8d9b49f7b08fb4c65
Author: Mukunda Rao Katta <mu...@gmail.com>
AuthorDate: Fri May 15 01:19:48 2026 -0700
Saturate scheduler job elapsed time (#1708)
---
ballista/scheduler/src/api/handlers.rs | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/ballista/scheduler/src/api/handlers.rs b/ballista/scheduler/src/api/handlers.rs
index fc8871bec..b44da81ac 100644
--- a/ballista/scheduler/src/api/handlers.rs
+++ b/ballista/scheduler/src/api/handlers.rs
@@ -936,6 +936,11 @@ mod tests {
}
}
+ #[test]
+ fn test_job_elapsed_saturates_when_end_precedes_start() {
+ assert_eq!(job_elapsed_ms(900, 100), 0);
+ }
+
// --- get_finished_stage_time ---
#[test]
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org