diff --git a/dracclient/resources/job.py b/dracclient/resources/job.py index 2961075..2eddfb0 100644 --- a/dracclient/resources/job.py +++ b/dracclient/resources/job.py @@ -68,6 +68,7 @@ class JobManagement(object): filter_query = ('select * from DCIM_LifecycleJob ' 'where Name != "CLEARALL" and ' 'JobStatus != "Reboot Completed" and ' + 'JobStatus != "Reboot Failed" and ' 'JobStatus != "Completed" and ' 'JobStatus != "Completed with Errors" and ' 'JobStatus != "Failed"') diff --git a/dracclient/tests/test_job.py b/dracclient/tests/test_job.py index 7a63b79..1e4951a 100644 --- a/dracclient/tests/test_job.py +++ b/dracclient/tests/test_job.py @@ -50,6 +50,7 @@ class ClientJobManagementTestCase(base.BaseTest): expected_filter_query = ('select * from DCIM_LifecycleJob ' 'where Name != "CLEARALL" and ' 'JobStatus != "Reboot Completed" and ' + 'JobStatus != "Reboot Failed" and ' 'JobStatus != "Completed" and ' 'JobStatus != "Completed with Errors" and ' 'JobStatus != "Failed"')