[SCM] Ganeti core branch stable-2.8 updated. v2.7.0beta3-443-g7af7da6

2 views
Skip to first unread message

ganeti-vcs

unread,
May 15, 2013, 10:44:34 AM5/15/13
to ganeti-...@googlegroups.com
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Ganeti core".

The branch, stable-2.8 has been updated
via 7af7da684670ede63adc06cb6681a9db39014ce9 (commit)
via 13d62481d99fc5b537846c03eba8afdcee8f71bc (commit)
via 6b168d4a148453b348509d98a47fd8a372a19131 (commit)
via d9b681ea9c8ed4368b488fa7032b19b25c49e3be (commit)
from 9598b71fba771ee17c73494e87bd47781be09c51 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7af7da684670ede63adc06cb6681a9db39014ce9
Author: Helga Velroyen <hel...@google.com>
Date: Wed May 15 12:46:24 2013 +0200

Compatibility test for instances

This patch introduces a test to check the compatibility
of the Haskell and the Python representation of instances.

Signed-off-by: Helga Velroyen <hel...@google.com>
Reviewed-by: Klaus Aehlig <aeh...@google.com>

commit 13d62481d99fc5b537846c03eba8afdcee8f71bc
Author: Helga Velroyen <hel...@google.com>
Date: Wed May 15 13:46:46 2013 +0200

Instance generators

This patch introduces and enhances generators for
instances:
- 'genInstWithNets' is split into the generation of an
arbitrary instance and enhancing an instance with nets
- 'genInst' calls 'genInstWithNets' with an empty set
of initial networks to provide a reasonable default
- the Arbitrary instance of 'Instance' uses now 'genDisks'
to create instances with a reasonable set of disks

Signed-off-by: Helga Velroyen <hel...@google.com>
Reviewed-by: Klaus Aehlig <aeh...@google.com>

commit 6b168d4a148453b348509d98a47fd8a372a19131
Author: Helga Velroyen <hel...@google.com>
Date: Wed May 15 15:01:28 2013 +0200

Annotate every arbitrary instance field

The Arbitrary instance of the 'Instance' object is written
using the <*> syntax. Since it often uses the 'arbitrary'
generator for the instance's fields it is hard to figure
out which 'arbitrary' fills which instance field. This
patch annotates all fields with their name to make
maintenance of this code easier.

Signed-off-by: Helga Velroyen <hel...@google.com>
Reviewed-by: Klaus Aehlig <aeh...@google.com>

commit d9b681ea9c8ed4368b488fa7032b19b25c49e3be
Author: Helga Velroyen <hel...@google.com>
Date: Wed May 15 14:52:47 2013 +0200

Generators for disks

This patch adds generators for Disk instances to the Haskell
test code. It uses somewhat more reasonable generators to
fill the fields instead of just arbitrary values.
'genDiskWithChildren' is a generator that generates a disk
with a specified number of disk children. To avoid shooting
ourselves in the foot we do not generate further (grand)
child disks for the child disks. 'genDisk' calls
'genDiskWithChildren' by requesting three children as a
resonable default.

Signed-off-by: Helga Velroyen <hel...@google.com>
Reviewed-by: Klaus Aehlig <aeh...@google.com>

-----------------------------------------------------------------------

Summary of changes:
test/hs/Test/Ganeti/Objects.hs | 94 +++++++++++++++++++++++++++++++++++++---
1 files changed, 88 insertions(+), 6 deletions(-)


hooks/post-receive
--
Ganeti core
Reply all
Reply to author
Forward
0 new messages