| Branch: | Tag: | Revision:

root / test @ ebfb2f46

Name Size
bash_completion.bash 5.2 kB 13.9 kB
check-cert-expired_unittest.bash 1.9 kB
cli-test.bash 193 Bytes
daemon-util_unittest.bash 2.5 kB 9.9 kB
ganeti-cleaner_unittest.bash 5.9 kB
ganeti-cli.test 504 Bytes 6.7 kB 3.3 kB 17.6 kB 34.7 kB 9.3 kB 7.4 kB 5 kB 51.1 kB 3.3 kB 7.1 kB 13.5 kB 5.5 kB 24 kB 2.9 kB 17.1 kB 8.8 kB 26.2 kB 1.6 kB 1.3 kB 8.4 kB 1.4 kB 1.5 kB 1.7 kB 8.5 kB 94.5 kB 3.2 kB 81.7 kB 8.9 kB 2.5 kB 5.7 kB 5.2 kB 18.7 kB 11.9 kB 1.3 kB 14.7 kB 29.9 kB 10.2 kB 73.3 kB 5.4 kB 52.1 kB 2 kB 56.5 kB 5.3 kB 31.1 kB 5.8 kB 3.4 kB 8.3 kB 5 kB 4.4 kB 1.8 kB 10.3 kB 3.8 kB 12 kB 4.3 kB 4.4 kB 3.1 kB 35.4 kB 6.3 kB 1.5 kB 4 kB 24.7 kB 4.5 kB 21.2 kB 5.1 kB 10.3 kB 11.9 kB 8.7 kB 19.5 kB
gnt-cli.test 1.5 kB
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.7 kB

Latest revisions

# Date Author Comment
ebfb2f46 11/14/2012 10:15 am Michael Hanselmann

Add test utility to count calls to function

In some cases it's nice to verify a function has been called exactly N
times. This is going to be used in tests for remote commands.

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

105f0d47 11/13/2012 10:21 pm Michael Hanselmann

Add new test for RAPI

Unlike existing tests, this actually tests RAPI at the interface with
the HTTP server. This way authentification can also be tested. A test
for “/2/query/…” is included as it's a bit special.

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

f63ffb37 11/13/2012 09:28 pm Michael Hanselmann

Expose changing job priority via LUXI

A new LUXI request is added, in both Python and Haskell.

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

9a2564e7 11/13/2012 09:20 pm Michael Hanselmann

workerpool: Add method to change task's priority

Using the task ID a pending task's priority can be changed. This will be
used to change the priority of jobs in the workerpool.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Bernardo Dal Seno <>

bba69414 11/13/2012 09:20 pm Michael Hanselmann

workerpool: Preserve task number when deferring

When a task is deferred it should receive the same task ID upon being
returned to the pool.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Bernardo Dal Seno <>

4679547e 11/13/2012 09:20 pm Michael Hanselmann

jqueue: Allow changing of job priority

This is due to a feature request. Sometimes one wants to change the
priority of a job after it has been submitted, e.g. after submitting an
important job only to later notice many other pending jobs which will be
processed first. Priority changes only take effect at the next lock...

125b74b2 11/13/2012 09:20 pm Michael Hanselmann

workerpool: Change data structure for priority change

To prepare for the addition of a new function allowing changing a
pending task's priority, the internal data structure is slightly
changed. The (optional) task ID is stored as part of the task entry. A...

09b72783 11/12/2012 06:51 pm Michael Hanselmann

RunCmd: Expose "postfork" callback

The “_postfork_fn” parameter was only used for tests until now. To
implement a good locking scheme, remote commands must also make use of
this callback to release a lock when the command was successfully
started (but did not yet finish)....

e4e59de8 11/08/2012 04:40 pm Michael Hanselmann

jqueue/mcpu: Determine priority using callback

Instead of being given the priority for acquiring locks by means of a
parameter, mcpu will now call back. This is in preparation for
implementing a command to change a job's priority on the fly and allows
to change it while locks are being acquired (taking effect on the next...

8af734f8 11/08/2012 04:15 pm Michael Hanselmann

Merge branch 'devel-2.6'

  • devel-2.6:
    http/ Remove extraneous argument
    rapi.testutils: Add utility to format HTTP headers
    rapi.testutils: Return headers from mock utility
    http: Add wrapper for mimetools.Message
    Add missing tests for commit f0d2286...

View revisions

Also available in: Atom