Statistics
| Branch: | Tag: | Revision:

root / test @ 0351944b

Name Size
  data
cfgupgrade_unittest.py 11.9 kB
check-cert-expired_unittest.bash 1.9 kB
cli-test.bash 184 Bytes
daemon-util_unittest.bash 2.5 kB
docs_unittest.py 9.9 kB
ganeti-cleaner_unittest.bash 5.1 kB
ganeti-cli.test 504 Bytes
ganeti.asyncnotifier_unittest.py 6.7 kB
ganeti.backend_unittest.py 3.3 kB
ganeti.bdev_unittest.py 14 kB
ganeti.cache_unittest.py 3.6 kB
ganeti.cli_unittest.py 32 kB
ganeti.client.gnt_cluster_unittest.py 5.2 kB
ganeti.client.gnt_instance_unittest.py 7.4 kB
ganeti.cmdlib_unittest.py 43 kB
ganeti.compat_unittest.py 3.3 kB
ganeti.confd.client_unittest.py 7.1 kB
ganeti.config_unittest.py 13.5 kB
ganeti.constants_unittest.py 5.4 kB
ganeti.daemon_unittest.py 24 kB
ganeti.errors_unittest.py 2.9 kB
ganeti.hooks_unittest.py 17.1 kB
ganeti.ht_unittest.py 8.8 kB
ganeti.http_unittest.py 26.2 kB
ganeti.hypervisor.hv_chroot_unittest.py 1.6 kB
ganeti.hypervisor.hv_fake_unittest.py 1.3 kB
ganeti.hypervisor.hv_kvm_unittest.py 8.3 kB
ganeti.hypervisor.hv_lxc_unittest.py 1.4 kB
ganeti.hypervisor.hv_xen_unittest.py 1.5 kB
ganeti.hypervisor_unittest.py 1.7 kB
ganeti.impexpd_unittest.py 8.5 kB
ganeti.jqueue_unittest.py 83.5 kB
ganeti.locking_unittest.py 81.7 kB
ganeti.luxi_unittest.py 8.9 kB
ganeti.masterd.instance_unittest.py 5.7 kB
ganeti.mcpu_unittest.py 5.2 kB
ganeti.netutils_unittest.py 18.7 kB
ganeti.objects_unittest.py 11.9 kB
ganeti.opcodes_unittest.py 14.1 kB
ganeti.ovf_unittest.py 29.9 kB
ganeti.qlang_unittest.py 10.2 kB
ganeti.query_unittest.py 69.4 kB
ganeti.rapi.baserlib_unittest.py 5.4 kB
ganeti.rapi.client_unittest.py 51.4 kB
ganeti.rapi.resources_unittest.py 2 kB
ganeti.rapi.rlib2_unittest.py 55.8 kB
ganeti.rapi.testutils_unittest.py 5.3 kB
ganeti.rpc_unittest.py 31 kB
ganeti.runtime_unittest.py 5.8 kB
ganeti.serializer_unittest.py 3.4 kB
ganeti.ssh_unittest.py 1.7 kB
ganeti.storage_unittest.py 4.4 kB
ganeti.tools.ensure_dirs_unittest.py 1.8 kB
ganeti.uidpool_unittest.py 3.8 kB
ganeti.utils.algo_unittest.py 12 kB
ganeti.utils.filelock_unittest.py 4.3 kB
ganeti.utils.hash_unittest.py 4.4 kB
ganeti.utils.io_unittest-runasroot.py 3.1 kB
ganeti.utils.io_unittest.py 34 kB
ganeti.utils.log_unittest.py 6.3 kB
ganeti.utils.mlock_unittest.py 1.5 kB
ganeti.utils.nodesetup_unittest.py 4 kB
ganeti.utils.process_unittest.py 22.8 kB
ganeti.utils.retry_unittest.py 4.5 kB
ganeti.utils.text_unittest.py 20 kB
ganeti.utils.wrapper_unittest.py 3.8 kB
ganeti.utils.x509_unittest.py 10.3 kB
ganeti.utils_unittest.py 11.9 kB
ganeti.workerpool_unittest.py 13.3 kB
gnt-cli.test 1.1 kB
htools-balancing.test 2.1 kB
htools-basic.test 363 Bytes
htools-dynutil.test 586 Bytes
htools-excl.test 276 Bytes
htools-hail.test 2.4 kB
htools-hspace.test 352 Bytes
htools-invalid.test 750 Bytes
htools-multi-group.test 1.3 kB
htools-no-backend.test 311 Bytes
htools-rapi.test 258 Bytes
htools-single-group.test 779 Bytes
htools-text-backend.test 830 Bytes
import-export_unittest-helper 2.6 kB
import-export_unittest.bash 11.3 kB
lockperf.py 3.5 kB
mocks.py 2.8 kB
pycurl_reset_unittest.py 2.3 kB
qa.qa_config_unittest.py 3.2 kB
tempfile_fork_unittest.py 3.4 kB
testutils.py 6.3 kB

Latest revisions

# Date Author Comment
0351944b 11/08/2012 03:20 pm Michael Hanselmann

rapi.testutils: Return headers from mock utility

A newly added test for RAPI will also verify the returned headers. A
test in ganeti.rapi.client_unittest.py is split into smaller stand-alone
tests.

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

7a70541e 11/07/2012 06:57 pm Michael Hanselmann

Add missing tests for commit f0d2286

Commit f0d2286 changed the logic of
gnt_instance._ConvertNicDiskModifications to also allow a parameter
named “modify”. Unfortunately the corresponding unittest was not
updated. An “if”/“else” condition is also merged....

942e2262 11/01/2012 05:48 pm Michael Hanselmann

jqueue: Return jobs to queue when shutting down

When a job is still waiting for locks and the queue is shutting down,
they should be returned and not actually start processing. Until now
jobs which transitioned from “queued” to “waiting” were already
considered to be running as far as the shutdown code was concerned....

0e2b7c58 09/12/2012 04:15 pm Michael Hanselmann

rpc: Remove duplicated logic, fix unittests

Commit 5fce6a89 changed RpcRunner._InstDict to add the disk parameters
on all encoded instances. It didn't remove a special case in
“_InstDictOspDp”. Update and fix unittests as well.

Signed-off-by: Michael Hanselmann <>...

ef86bf28 09/12/2012 01:48 pm Michael Hanselmann

cmdlib: Handle locking.ALL_SET correctly when copying locks

When locks are copied “locking.ALL_SET” must be handled separately
(ALL_SET has the value None). Reported by Constantinos Venetsanopoulos
who saw failover for RDB-based instances not working.

Signed-off-by: Michael Hanselmann <>...

b2631ce4 08/10/2012 06:02 pm Iustin Pop

Add test for checking that all gnt-* subcommands run OK

This is a bit of a shell munging trickery, but works for now. Making
it more generic can be done later.

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

a95aa74c 06/28/2012 06:52 pm Iustin Pop

Add a shell test for hbal and split instances

This is not perfect, as we only test that hbal completes successfully
and that it show a score improvement, but it's better than nothing.

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

5b93f2ec 06/28/2012 12:39 pm Agata Murawska

Add newline at the end of shelltest files

Signed-off-by: Agata Murawska <>
Reviewed-by: René Nussbaumer <>

19fe9138 06/28/2012 11:55 am René Nussbaumer

Add forgotten unittest changes for instance_os_add

The previous patch which fixed disk parameters didn't adapt the
unittests so it lead to failing QA.

Signed-off-by: René Nussbaumer <>
Reviewed-by: Agata Murawska <>

47ed1d79 06/27/2012 05:19 pm Agata Murawska

Style fixes in shelltests

Signed-off-by: Agata Murawska <>
Reviewed-by: René Nussbaumer <>

View revisions

Also available in: Atom