f-50: lab: image vérifiée, disques et seeds des VM #50
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
99ecb59aad
commit
d1cd943d86
7 changed files with 999 additions and 20 deletions
|
|
@ -107,6 +107,14 @@ func TestCompute_TwoHypervisorsPlan(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func TestCompute_CarriesTheDeclaredImages(t *testing.T) {
|
||||
p := compute(t, twoHypervisors)
|
||||
want := []Image{{Name: "deb", URL: "https://example.invalid/deb.qcow2", Sums: "https://example.invalid/SHA512SUMS"}}
|
||||
if !reflect.DeepEqual(p.Images, want) {
|
||||
t.Errorf("images = %+v, want %+v", p.Images, want)
|
||||
}
|
||||
}
|
||||
|
||||
func TestCompute_IsStableAcrossRuns(t *testing.T) {
|
||||
first := compute(t, twoHypervisors)
|
||||
for i := 0; i < 20; i++ {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue