From 0a0d49f873df9544e6397600f57244d3fe588a05 Mon Sep 17 00:00:00 2001 From: xjules Date: Fri, 10 Nov 2023 09:04:19 +0100 Subject: [PATCH] Rem from cmakelist --- src/clib/lib/CMakeLists.txt | 1 - src/clib/lib/job_queue/job_queue.cpp | 2 +- src/clib/tests/CMakeLists.txt | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/clib/lib/CMakeLists.txt b/src/clib/lib/CMakeLists.txt index 89ad51aa474..6f2254ff0f4 100644 --- a/src/clib/lib/CMakeLists.txt +++ b/src/clib/lib/CMakeLists.txt @@ -6,7 +6,6 @@ pybind11_add_module( job_queue/job_list.cpp job_queue/job_node.cpp job_queue/job_queue.cpp - job_queue/job_queue_status.cpp job_queue/local_driver.cpp job_queue/lsf_driver.cpp job_queue/queue_driver.cpp diff --git a/src/clib/lib/job_queue/job_queue.cpp b/src/clib/lib/job_queue/job_queue.cpp index 3f012a76f16..c17c0c6b0a5 100644 --- a/src/clib/lib/job_queue/job_queue.cpp +++ b/src/clib/lib/job_queue/job_queue.cpp @@ -28,7 +28,7 @@ int job_queue_add_job_node(job_queue_type *queue, job_queue_node_type *node) { pthread_mutex_lock(&node->data_mutex); - if ((job_queue_node_get_status(node) != JOB_QUEUE_WAITING) && (target_status != JOB_QUEUE_STATUS_FAILURE)) + if (job_queue_node_get_status(node) != JOB_QUEUE_WAITING) job_queue_node_set_status(node, JOB_QUEUE_WAITING); pthread_mutex_unlock(&node->data_mutex); diff --git a/src/clib/tests/CMakeLists.txt b/src/clib/tests/CMakeLists.txt index 5241b731195..4a0637d3cc7 100644 --- a/src/clib/tests/CMakeLists.txt +++ b/src/clib/tests/CMakeLists.txt @@ -31,7 +31,6 @@ add_executable( job_queue/test_job_slurm_driver.cpp $<$:job_queue/test_job_slurm_submit.cpp> # if found add file $<$:job_queue/test_job_slurm_runtest.cpp> # if found add file - job_queue/test_job_status.cpp job_queue/test_job_torque.cpp job_queue/test_job_torque_submit.cpp job_queue/test_lsf_driver.cpp