From caa4e48a3e6e54f2695b03a7e4ec36f1ee19b775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Madon?= <mael.madon@irit.fr> Date: Wed, 5 Jun 2024 09:22:15 +0200 Subject: [PATCH] fix: test not passing --- test/test_schedulers_mono.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_schedulers_mono.py b/test/test_schedulers_mono.py index 0e85977..0ab0d64 100755 --- a/test/test_schedulers_mono.py +++ b/test/test_schedulers_mono.py @@ -26,8 +26,9 @@ def test_fcfs(platform_monoC, workload_static): # Checks that the jobs have been executed in FCFS order jobs = pd.read_csv(f"{output_dir}/_jobs.csv") + jobs = jobs[jobs.success==1] jobs.sort_values(by="submission_time", inplace=True) - assert jobs[jobs.success==1].starting_time.is_monotonic_increasing + assert jobs.starting_time.is_monotonic_increasing def test_easy_bf_small_instance(): """Tests the scheduler easy backfilling on a small instance""" -- GitLab