Statistics
| Branch: | Tag: | Revision:

root / test @ e695efbf

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 6.4 kB
ganeti.backend_unittest.py 3.3 kB
ganeti.bdev_unittest.py 8.9 kB
ganeti.cli_unittest.py 15.4 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 7.3 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.4 kB
ganeti.hypervisor.hv_kvm_unittest.py 2.8 kB
ganeti.hypervisor.unittest.py 1.7 kB
ganeti.impexpd_unittest.py 5.8 kB
ganeti.jqueue_unittest.py 37.1 kB
ganeti.locking_unittest.py 59.4 kB
ganeti.luxi_unittest.py 8.9 kB
ganeti.masterd.instance_unittest.py 5.6 kB
ganeti.mcpu_unittest.py 2 kB
ganeti.netutils_unittest.py 14.3 kB
ganeti.objects_unittest.py 6.9 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 82.7 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
e695efbf 11/27/2010 07:29 pm Iustin Pop

Add missing paramter and unittests for this case

While git-am'ing the blockdev_prefix patch, I modified the hv_xen.py
file but forgot to amend the patch :(, so here it is.

Furthermore, to detect such inconsistencies in the future, a unittest is
added that cross-checks the default parameters in constants.py and the...

84ce674e 11/26/2010 06:36 pm Iustin Pop

asyncnotifier tests: simplify the setup code

First change is to replace "range(len(self.NOTIFIERS)))" with
self.NOTIFIERS, as range(len(range(N))) ≡ range(N).

Sencond change is switch from an explicit indexing to use of zip.
Unittests still pass :)

Signed-off-by: Iustin Pop <>...

0a31dda0 11/23/2010 11:04 pm Michael Hanselmann

Add consistency test for mcpu dispatch table

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

5768e6a6 11/23/2010 01:57 pm René Nussbaumer

Adding convenience getter for ndparams

Signed-off-by: René Nussbaumer <>
Reviewed-by: Iustin Pop <>

815bf6d5 11/23/2010 12:01 pm Iustin Pop

Fix utils unittest TestRunCmd.testTimeoutKill

Currently the test executes "/bin/sh -c 'trap "" TERM …" via the shell,
which means we have two shells involved (the parent one and the child
one, which does the trap). For some weird reason, this works for older...

095e71aa 11/22/2010 05:18 pm René Nussbaumer

Adding oob_program in the same style as beparams

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

972a114f 11/19/2010 06:26 pm Iustin Pop

Merge branch 'devel-2.3'

  • devel-2.3:
    Updates NEWS and configure.ac for 2.3.0~rc1
    Update NEWS & configure.ac for the 2.2.2 release
    Fix documentation regarding conversion to drbd
    Fix documentation regarding conversion to drbd
    Reinstall instance: disallow offline secondaries...
7f81e2b9 11/19/2010 06:24 pm Iustin Pop

Temporarily remove the interactive tests

make check < /dev/null breaks these tests. Until we have change RunCmd
to override stdin, we need to remove them.

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

c74cda62 11/19/2010 05:19 pm René Nussbaumer

Support timeouts in RunCmd

Further investigations have to be done for merging some of these bits
together with import-export daemon which uses similiar logic.

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

e6784773 11/16/2010 05:19 pm René Nussbaumer

Adding unittests for RunningTimeout

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

View revisions

Also available in: Atom