Statistics
| Branch: | Tag: | Revision:

root / test / hs @ 24d3d8da

Name Size
  Test
  shelltests
cli-tests-defs.sh 1.3 kB
hpc-htools.hs 19 Bytes
hpc-mon-collector.hs 26 Bytes
htest.hs 4.5 kB
live-test.sh 5 kB
offline-test.sh 3.9 kB

Latest revisions

# Date Author Comment
d32fe318 04/07/2014 10:53 am Klaus Aehlig

Verify readJSON . showJSON = Ok for ClientType

Verify that the JSON encoding of the ClientType can correctly
be decoded.

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

b8ba35c4 04/04/2014 06:20 pm Klaus Aehlig

Verify soundness of listAllLocksOwners

Verify that every owner mentioned in the output of listAllLocksOwners
actually owns the locks claimed.

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

6e304dba 04/04/2014 06:20 pm Klaus Aehlig

Verify that all locks are mentioned in listAllLocksOwners

Add a test verifying that whenever an owner owns a lock, it
is also mentioned in the output of listAllLocksOwners.

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

50c674fc 04/04/2014 06:19 pm Klaus Aehlig

Verify consistency between listAllLocks{,Owners}

As listAllLocks is supposed to list all locks currently in use, this should
be a superset listAllLocksOwners, i.e., of all locks actively owned by some
user.

Signed-off-by: Klaus Aehlig <>...

447d582c 04/04/2014 06:13 pm Klaus Aehlig

Verify that the list of all locks is complete

Verify that all locks owned by someone are included in the
list of all (active) locks.

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

aa4a4b76 04/03/2014 02:38 pm Petr Pudlak

Fix lint errors after moving Luxi code to UDSServer

Remove unused imports and update the 'buildCall' call in tests.

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

9c45196b 03/28/2014 03:00 pm Klaus Aehlig

Identify lock owners by either string or job id

Most requests asking for resources are jobs. However, in exceptional
cases, other requests (like currently requests to masterd requiring the
configuration) need to ask for resources. They identify themselves by...

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 <>

0108d385 03/11/2014 03:28 pm Klaus Aehlig

Verify serialisation of LockLevel

For the new JSON instance Ganeti.Locking.Locks.LockLevel, verify that
readJSON . showJSON = Ok.

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

1835fd75 03/11/2014 03:28 pm Klaus Aehlig

Add network locks to Haskell

Ganeti also has a lock level for networks, however this level was forgotten
when the Ganeti lock hierarchy was implemented in Haskell.

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

View revisions

Also available in: Atom