diff --git a/plugins/pyloader/src/testsuite/python_loader_configure.py b/plugins/pyloader/src/testsuite/python_loader_configure.py index 826193e..e38a281 100644 --- a/plugins/pyloader/src/testsuite/python_loader_configure.py +++ b/plugins/pyloader/src/testsuite/python_loader_configure.py @@ -16,5 +16,10 @@ class python_loader_configure(Policy) : def get_time_slice(self): return -1 + # FIXME incorrect, but must be implemented to allow + # loading from the policy manager + def wants(self): + return 0 + def sort_queue(self, queue): pass diff --git a/plugins/pyloader/src/testsuite/python_loader_get_time_slice.py b/plugins/pyloader/src/testsuite/python_loader_get_time_slice.py index 2937b63..5ba6ca1 100644 --- a/plugins/pyloader/src/testsuite/python_loader_get_time_slice.py +++ b/plugins/pyloader/src/testsuite/python_loader_get_time_slice.py @@ -17,5 +17,10 @@ class python_loader_get_time_slice(Policy) : pass return -1 + # FIXME incorrect, but must be implemented to allow + # loading from the policy manager + def wants(self): + return 0 + def sort_queue(self, queue): pass diff --git a/plugins/pyloader/src/testsuite/python_loader_is_preemptive.py b/plugins/pyloader/src/testsuite/python_loader_is_preemptive.py index 6e0bb44..995abd9 100644 --- a/plugins/pyloader/src/testsuite/python_loader_is_preemptive.py +++ b/plugins/pyloader/src/testsuite/python_loader_is_preemptive.py @@ -17,5 +17,10 @@ class python_loader_is_preemptive(Policy) : def get_time_slice(self): return -1 + # FIXME incorrect, but must be implemented to allow + # loading from the policy manager + def wants(self): + return 0 + def sort_queue(self, queue): pass diff --git a/plugins/pyloader/src/testsuite/python_loader_sort_queue.py b/plugins/pyloader/src/testsuite/python_loader_sort_queue.py index ff26d0a..f91180f 100644 --- a/plugins/pyloader/src/testsuite/python_loader_sort_queue.py +++ b/plugins/pyloader/src/testsuite/python_loader_sort_queue.py @@ -14,6 +14,13 @@ class python_loader_sort_queue(Policy) : def get_time_slice(self): return -1 + + # FIXME incorrect, but must be implemented to allow + # loading from the policy manager + def wants(self): + return 0 + + def sort_queue(self, queue): print "[II] Entering willingly an endless loop." while True: