distro: print more information in case the test fails
This helps when looking for the issue because the previous input did not mention which specific qcow2 test case failed.
This commit is contained in:
parent
a38ee2e7a7
commit
60269abdff
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ func TestDistro_Manifest(t *testing.T, pipelinePath string, prefix string, distr
|
|||
return
|
||||
}
|
||||
if tt.Manifest != nil {
|
||||
require.JSONEq(t, string(tt.Manifest), string(got))
|
||||
require.JSONEqf(t, string(tt.Manifest), string(got), "Distro: %s\nArch: %s\nImage type: %s\nTest case file: %s\n", d.Name(), arch.Name(), imageType.Name(), fileName)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue