| Branch: | Tag: | Revision:

root / test @ 7d4da09e

Name Size
  data 8.1 kB
check-cert-expired_unittest.bash 1.9 kB
daemon-util_unittest.bash 2.2 kB 6.1 kB
ganeti-cleaner_unittest.bash 4.1 kB 6.4 kB 3.3 kB 8.9 kB 25.5 kB 4.7 kB 7 kB 3.3 kB 7.1 kB 8.7 kB 4.5 kB 24 kB 2.5 kB 9.4 kB 5.7 kB 14.4 kB 1.6 kB 1.3 kB 2.6 kB 1.4 kB 1.5 kB 1.7 kB 8.5 kB 42.9 kB 63.7 kB 8.9 kB 5.6 kB 1.9 kB 14.3 kB 9.6 kB 8.7 kB 2.6 kB 35.3 kB 2.7 kB 42.7 kB 2.3 kB 13.7 kB 10 kB 3.5 kB 3.5 kB 1.7 kB 3.8 kB 8.7 kB 4.3 kB 4.4 kB 22.5 kB 6.2 kB 1.5 kB 3.6 kB 21 kB 3.6 kB 15.5 kB 3.8 kB 8.9 kB 10 kB 12 kB
import-export_unittest-helper 2.6 kB
import-export_unittest.bash 11.3 kB 2.8 kB 3.1 kB 5.5 kB

Latest revisions

# Date Author Comment
7d4da09e 03/15/2011 02:50 pm Michael Hanselmann

utils: Export NiceSortKey function

The ability to split a string into a list of strings and integers can be
handy elsewhere and is necessary for sorting query results by names.

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

bacae536 02/23/2011 03:27 pm René Nussbaumer

query_unittest: Fix argument to set()

Commit e431074f introduced an uncatched bug. This patch fixes this. The
set is expecting a list or iteratable to work on, so it splitted the
provided instance name into a set of characters. This caused the
exp_status never been set and therefore not catched in one assert rule...

f0b1bafe 02/18/2011 04:47 pm Iustin Pop

Change the list formatting to a 'special' chars

And also enable verbose display via the, well, verbose option. Man
page and tests are updated, and the formatting is moved from 4 if
statements to a data structure.

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

effab4ca 02/17/2011 07:25 pm Iustin Pop

NodeQuery: mark live fields as UNAVAIL for non-vm_capable nodes

Since we don't have the data per design, UNAVAIL is appropriate here,
while NODATA is not.

The patch also adds a comment: if we extend the live fields list to
contain other data in the future, we need to reevaluate this solution....

9a6813ac 02/02/2011 06:02 pm Michael Hanselmann

utils.SetupLogging: Return function to reopen log file

This function can be used from a SIGHUP handler to reopen log files.
Initial, simple unittests are included.

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

b6fa9a44 01/31/2011 02:53 pm Michael Hanselmann

Introduce re-openable log record handler

This patch adds a new log handler class based on the standard library's
BaseRotatingHandler. This new class allows the log file to be re-opened,
e.g. upon receiving a SIGHUP signal. The latter will be implemented in...

b82d4c5e 01/28/2011 04:31 pm Michael Hanselmann

Add RAPI resource for instance console

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

5d28cb6f 01/28/2011 04:31 pm Michael Hanselmann

Export console information as query field

This makes it possible to get the console information via a LUXI query.

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

e431074f 01/28/2011 02:42 pm René Nussbaumer

Fix instance list for instances running multiple times

If for some reason (e.g. failed migration) one instance is running
on multiple nodes the output can become inconsistent. To get that error
and make it consistent between runs we make the call on the secondary...

c6a65efb 01/27/2011 03:15 pm Michael Hanselmann

Fix unittest breakage on Python 2.4/2.5

Commit 70b0d2a29 broke unittests on Python 2.4 and 2.5. Turns out that
Python 2.6 and above allow classes to be passed as custom test runners,
whereas earlier versions don't.

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

View revisions

Also available in: Atom