Statistics
| Branch: | Tag: | Revision:

root / test @ 6252c0bd

Name Size
  data
bash_completion.bash 5.2 kB
cfgupgrade_unittest.py 13.9 kB
check-cert-expired_unittest.bash 1.9 kB
cli-test.bash 193 Bytes
daemon-util_unittest.bash 2.5 kB
docs_unittest.py 10.1 kB
ganeti-cleaner_unittest.bash 5.9 kB
ganeti-cli.test 504 Bytes
ganeti.asyncnotifier_unittest.py 6.7 kB
ganeti.backend_unittest-runasroot.py 2 kB
ganeti.backend_unittest.py 17 kB
ganeti.bdev_unittest.py 17.6 kB
ganeti.cli_unittest.py 34.7 kB
ganeti.client.gnt_cluster_unittest.py 9.3 kB
ganeti.client.gnt_instance_unittest.py 7.4 kB
ganeti.client.gnt_job_unittest.py 5 kB
ganeti.cmdlib_unittest.py 51.1 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.5 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.7 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.4 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 94.5 kB
ganeti.jstore_unittest.py 3.2 kB
ganeti.locking_unittest.py 83.2 kB
ganeti.luxi_unittest.py 8.9 kB
ganeti.masterd.iallocator_unittest.py 2.5 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.objectutils_unittest.py 1.3 kB
ganeti.opcodes_unittest.py 15 kB
ganeti.ovf_unittest.py 30.1 kB
ganeti.qlang_unittest.py 10.2 kB
ganeti.query_unittest.py 73.3 kB
ganeti.rapi.baserlib_unittest.py 5.4 kB
ganeti.rapi.client_unittest.py 55.3 kB
ganeti.rapi.resources_unittest.py 2 kB
ganeti.rapi.rlib2_unittest.py 57.6 kB
ganeti.rapi.testutils_unittest.py 5.3 kB
ganeti.rpc_unittest.py 31.1 kB
ganeti.runtime_unittest.py 5.8 kB
ganeti.serializer_unittest.py 3.4 kB
ganeti.server.rapi_unittest.py 8.8 kB
ganeti.ssh_unittest.py 5 kB
ganeti.storage_unittest.py 4.4 kB
ganeti.tools.ensure_dirs_unittest.py 1.8 kB
ganeti.tools.prepare_node_join_unittest.py 10.3 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 35.4 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 24.7 kB
ganeti.utils.retry_unittest.py 4.5 kB
ganeti.utils.text_unittest.py 21.2 kB
ganeti.utils.wrapper_unittest.py 5.1 kB
ganeti.utils.x509_unittest.py 10.3 kB
ganeti.utils_unittest.py 11.9 kB
ganeti.vcluster_unittest.py 8.7 kB
ganeti.workerpool_unittest.py 19.5 kB
gnt-cli.test 1.5 kB
import-export_unittest-helper 2.6 kB
import-export_unittest.bash 11.3 kB
lockperf.py 3.5 kB
mocks.py 2.9 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.7 kB

Latest revisions

# Date Author Comment
6252c0bd 11/21/2012 08:23 am Michael Hanselmann

Add tests for repr in locking classes

“locking.PipeCondition” and “locking.SharedLock” define “__repr__”,
which until now was not tested at all.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>

8c114acd 11/21/2012 08:23 am Michael Hanselmann

test/*.py: s/'/"/

Now that 2.6 is essentially finished and 2.7 going to be branched
soon-ish, I thought it would be a good moment to replace some single
quotes in test/*.py. Merge pains should be limited.

In one place in test/ganeti.locking_unittest.py, spaces are added for...

6ae72286 11/21/2012 08:21 am Michael Hanselmann

Add unit test for default parameter default values

Fails if the default value of an opcode parameter doesn't verify.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>

0ef4d576 11/21/2012 03:44 am Michael Hanselmann

locking: Add test for downgrade without names

Until now there was no test for calling “LockSet.downgrade” without
specifying any names.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Guido Trotter <>

6e8091f9 11/20/2012 07:51 pm Dimitris Aragiorgis

Fixes to pass unittests (make check)

Signed-off-by: Dimitris Aragiorgis <>
Reviewed-by: Iustin Pop <>

a52f8e72 11/20/2012 01:02 pm Michele Tartara

Add DRBD parser unit tests

This adds tests that existing test files can be parsed by the Haskell
parser as well, plus one new test file.

Signed-off-by: Michele Tartara <>
Reviewed-by: Iustin Pop <>

2c9fa1ff 11/20/2012 11:16 am Iustin Pop

Cleanup ht's use of positive/strictpositive

Currently, ht.py uses a bad terminology for positive/non-negative
numbers. Per http://en.wikipedia.org/wiki/Positive_number, this is the
correct terminology:

- A number is positive if it is greater than zero.
- A number is negative if it is less than zero....

e4d745a7 11/19/2012 03:12 pm Michael Hanselmann

Add opcode for running commands remotely

The opcode doesn't pay attention to the build-time flag to enable or
disable restricted commands. In a cluster different nodes could have
different settings.

Node locks are acquired in shared mode by default, but the use of an...

1a2eb2dc 11/16/2012 04:10 pm Michael Hanselmann

backend: Implement remote commands

As per design document (doc/design-remote-commands.rst), a number of
rather strict tests is applied to any incoming request, a delay is
inserted upon errors and returned error messages are very generic
(unless it's the actual command that failed). There are unit tests for...

de959245 11/16/2012 03:57 pm Michael Hanselmann

Add unit test for RAPI handler access definitions

- Ensure query-related resources have the same access permissions
(specifically “/2/query/*” and “/2/*/console”)
- Check access permission consistency (write implies read)

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

View revisions

Also available in: Atom