Statistics
| Branch: | Tag: | Revision:

root / test @ 5470b894

Name Size
  autotools
  data
  hs
  py

Latest revisions

# Date Author Comment
4a3578cf 03/26/2014 11:38 am Ilias Tsitsimpis

Add disks entry to config.data

Signed-off-by: Ilias Tsitsimpis <>

5470b894 03/26/2014 11:38 am Ilias Tsitsimpis

Fix '_create_instance' in config_unittest

Previously '_create_instance' would initialize the config object every
time it would be called. This causes '_WriteConfig' to fail with
ConfigurationError: The configuration file has been modified since the
last write. Fix this by passing the config object to '_create_instance'...

3d97b399 03/26/2014 11:35 am Petr Pudlak

Add a method for WConfd context to GanetiContextMock

Signed-off-by: Petr Pudlak <>
Reviewed-by: Klaus Aehlig <>

cc0c1197 03/21/2014 05:19 pm Petr Pudlak

Move the test for adding/removing certs to config. tests

.. and update it to work with ConfigWriter instead of the 'security'
module.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Helga Velroyen <>

92aca8e1 03/21/2014 12:22 pm Dimitris Bliablias

Extend unittest for gnt-os info changes

Extend unit test ganeti.query_unittest.py, to correspond to the
changes made in the 'gnt-os info' output.

Signed-off-by: Dimitris Bliablias <>
Signed-off-by: Michele Tartara <>...

9c5c80a4 03/18/2014 03:30 pm Petr Pudlak

Fix WConfd mock client after updating the lock

.. because instead of a job ID and a lock file, we now pass a single,
client ID object.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Helga Velroyen <>

c211dcc4 03/18/2014 01:52 pm Petr Pudlak

Add tests for (de)serialization of ClientId

.. to test if `readJSON . showJSON = Ok`.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Helga Velroyen <>

13c16b21 03/17/2014 04:07 pm Jose A. Lopes

Update tests after merging 'os_get' into 'os_validate'

... namely, unit tests and QA.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Petr Pudlak <>

87ed6b79 03/13/2014 02:49 pm Klaus Aehlig

Make mcpu acquire WConfD locks

So far, the mcpu acquires locks that live in memory
of masterd. This design does not fit with our jobs-as-processes
goal. So make mcpu acquire the corresponding locks in WConfD
instead.

Note that this implies changes in various other files that call...

69b139f6 03/13/2014 02:49 pm Klaus Aehlig

Add a mock for the wconfd module

As our so-called unit tests for the logical units are more
like integration tests, calling the actual LU through an almost
live mcpu, we need a quite involved "mock" for the wconfd module,
called indirectly through mcpu. The difficulties arise from the...

View revisions

Also available in: Atom