| Branch: | Tag: | Revision:

root / test @ a0c3e726

Name Size
  data 11.6 kB
check-cert-expired_unittest.bash 1.9 kB
cli-test.bash 184 Bytes
daemon-util_unittest.bash 2.5 kB 8.8 kB
ganeti-cleaner_unittest.bash 5.1 kB
ganeti-cli.test 504 Bytes 6.7 kB 3.3 kB 14 kB 3.6 kB 32 kB 5.2 kB 7 kB 42.1 kB 3.3 kB 7.1 kB 13.5 kB 5.4 kB 24 kB 2.5 kB 17.1 kB 8.8 kB 26.2 kB 1.6 kB 1.3 kB 8.3 kB 1.4 kB 1.5 kB 1.7 kB 8.5 kB 76 kB 81.7 kB 8.9 kB 5.7 kB 5.2 kB 18.7 kB 11.9 kB 14.1 kB 29.9 kB 9.9 kB 67.1 kB 5.4 kB 51.2 kB 2 kB 55.8 kB 5.3 kB 30.2 kB 5.8 kB 3.4 kB 1.7 kB 4.4 kB 1.8 kB 3.8 kB 12 kB 4.3 kB 4.4 kB 3.1 kB 34 kB 6.3 kB 1.5 kB 4 kB 22.8 kB 4.5 kB 20 kB 3.8 kB 9 kB 10.6 kB 13.3 kB
gnt-cli.test 882 Bytes
htools-balancing.test 1.9 kB
htools-basic.test 304 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 595 Bytes
htools-multi-group.test 988 Bytes
htools-no-backend.test 311 Bytes
htools-rapi.test 258 Bytes
htools-single-group.test 624 Bytes
htools-text-backend.test 830 Bytes
import-export_unittest-helper 2.6 kB
import-export_unittest.bash 11.3 kB 3.5 kB 2.8 kB 2.3 kB 3.2 kB 3.4 kB 6.3 kB

Latest revisions

# Date Author Comment
a0c3e726 05/04/2012 03:27 pm Michael Hanselmann

QA: Enable use of OR conditions in test checks

Until now “TestRunIf” and “TestEnabled” could only handle AND. With this
patch a new class named “Either” is added to “qa_config” and allows OR.
The name “Either” was chosen instead of “Or” as the latter is very close...

59e67682 04/27/2012 12:46 pm Iustin Pop

Fix rapi.testutils unittest

Since we use a testutils.InputTestClient(), then the actual error
expected is VerificationError, and not GanetiApiError (which is used
at real run-time).

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

1afa108c 04/26/2012 10:42 pm Michael Hanselmann

Add more RAPI test utilities

This patch adds a mock RAPI client to test input values to methods. All
methods either raise an exception if there was a problem or return None.
Third-party code can use this to test their input values to the RAPI

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

d9492490 04/26/2012 10:33 pm Michael Hanselmann

rapi.testutils.FakeCurl: Add header support

With this patch headers are constructed from the PycURL options
and passed to the mock implementation.

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

f90a1ab5 04/26/2012 10:33 pm René Nussbaumer

Move _FakeCurl from tests/ganeti.rapi.client to ganeti.rapi.testutils

This is preparation for the mock system, where we need the same cURL

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

0fdf247d 04/19/2012 09:04 pm Michael Hanselmann

Convert listing exports to query2

This solves one case where locks are acquired during LUXI queries.
Pretty late into the transition I noticed that OpBackupQuery had a
“use_locking” parameter for a long time, but didn't use it. Since
most of the other changes were already and this allows exports to...

07923a3c 04/16/2012 07:30 pm Michael Hanselmann

Copy debug level, priority and set comment for LU-generated opcodes

Before this patch, a node evacuation submitted with high priority would
only compute the solution at that priority, but the actual evacuation
ran at normal priority.

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

5ad68a23 04/13/2012 04:19 pm Michael Hanselmann

Merge branch 'devel-2.5'

  • devel-2.5: (29 commits)
    gnt-* {add,list,remove}-tags: Unify options
    Bump version for 2.5.0 final release Fix “too many arguments” error
    Fix extra whitespace
    Further fixes concerning drbd port release
    Fix a bug concerning TCP port release...
d6f58310 03/30/2012 04:49 pm Michael Hanselmann

Fix query unittests after converting jobs to query2

I missed these among some shelltest-related failures.

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

a06c6ae8 03/30/2012 03:03 pm Michael Hanselmann

jqueue: Convert GetInfo to query2

This rather inefficient implementation (fields are evaluated on every
call to GetInfo) is not good for WaitForJobChanges and doesn't support
filters, but that will be rectified in later patches.

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

View revisions

Also available in: Atom