Statistics
| Branch: | Tag: | Revision:

root / test @ db5bce34

Name Size
  data
cfgupgrade_unittest.py 4.5 kB
check-cert-expired_unittest.bash 1.9 kB
daemon-util_unittest.bash 2.2 kB
docs_unittest.py 4.5 kB
ganeti-cleaner_unittest.bash 4.1 kB
ganeti.asyncnotifier_unittest.py 5.9 kB
ganeti.backend_unittest.py 3.3 kB
ganeti.bdev_unittest.py 8.9 kB
ganeti.cli_unittest.py 14.5 kB
ganeti.cmdlib_unittest.py 5 kB
ganeti.compat_unittest.py 3.3 kB
ganeti.confd.client_unittest.py 7.1 kB
ganeti.config_unittest.py 6.2 kB
ganeti.constants_unittest.py 4.5 kB
ganeti.daemon_unittest.py 24 kB
ganeti.errors_unittest.py 2.5 kB
ganeti.hooks_unittest.py 9.4 kB
ganeti.http_unittest.py 14.6 kB
ganeti.hypervisor.hv_kvm_unittest.py 2.8 kB
ganeti.impexpd_unittest.py 5.8 kB
ganeti.jqueue_unittest.py 30 kB
ganeti.locking_unittest.py 58.8 kB
ganeti.luxi_unittest.py 3.7 kB
ganeti.masterd.instance_unittest.py 5.6 kB
ganeti.mcpu_unittest.py 1.8 kB
ganeti.netutils_unittest.py 14.3 kB
ganeti.objects_unittest.py 4.5 kB
ganeti.opcodes_unittest.py 2.3 kB
ganeti.rapi.client_unittest.py 34 kB
ganeti.rapi.resources_unittest.py 2.3 kB
ganeti.rapi.rlib2_unittest.py 11.2 kB
ganeti.rpc_unittest.py 10 kB
ganeti.runtime_unittest.py 3.5 kB
ganeti.serializer_unittest.py 3.5 kB
ganeti.ssh_unittest.py 1.7 kB
ganeti.uidpool_unittest.py 3.8 kB
ganeti.utils_mlockall_unittest.py 1.4 kB
ganeti.utils_unittest.py 78.1 kB
ganeti.workerpool_unittest.py 12 kB
import-export_unittest-helper 2.6 kB
import-export_unittest.bash 11.3 kB
mocks.py 2.8 kB
tempfile_fork_unittest.py 3.1 kB
testutils.py 4.9 kB

Latest revisions

# Date Author Comment
db5bce34 09/22/2010 05:38 pm Michael Hanselmann

jqueue: Add unittest for _QueuedJob.CalcStatus

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

be760ba8 09/20/2010 03:41 pm Michael Hanselmann

jqueue: Change model from per-job to per-opcode processing

In order to support priorities, the processing of jobs needs to be
changed. Instead of processing jobs as a whole, the code is changed to
process one opcode at a time and then return to the queue. See the...

913138f4 09/16/2010 01:26 pm Michael Hanselmann

Always enable logging for unittests

By enabling all log levels, we ensure all calls are fully evaluated.
There was one case in the workerpool where a call to “logging.debug”
was wrong, but not caught in unittests because debug logging was
disabled.

The optional environment variable “LOGTOSTDERR” can be set to...

5f6b0b71 09/16/2010 01:26 pm Michael Hanselmann

Add small jqueue unittests

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

84a5b33c 09/13/2010 06:35 pm Michael Hanselmann

cli: Add option definition for priority

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

8f5c488d 09/13/2010 06:35 pm Michael Hanselmann

Add support for job priority to opcodes and job queue objects

This allows clients to submit opcodes with a priority. Except for being
tracked by the job queue, it is not yet used by any code.

Unittests for jqueue._QueuedOpCode and jqueue._QueuedJob are provided for...

e5d8774b 09/13/2010 06:35 pm Michael Hanselmann

Add job priority constants

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

887c7aa6 09/07/2010 04:56 pm Michael Hanselmann

locking: Implement priorities in SharedLock and LockSet

For proper support of job priorities, jobs' locks need to respect
priorities. Otherwise it could happen that a job with a lower priority
could get a lock before a job with a higher priority (depending on...

e60c73a1 09/07/2010 02:26 pm René Nussbaumer

The config now should also belong to confd group and readable by it

Signed-off-by: René Nussbaumer <>
Reviewed-by: Michael Hanselmann <>

ae8419a2 09/07/2010 01:07 pm Michael Hanselmann

Merge branch 'devel-2.2'

  • devel-2.2:
    cli: Use list of options shared between commands
    jqueue: Use separate function for encoding errors
    Fix some epydoc warnings
    Fix breakage introduced by commit 8044bf655
    Remove “dry_run” from opcodes.OpCreateInstance...

View revisions

Also available in: Atom