e2e: log imageList in validateRBDImageCount for better debugging

Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
Rakshith R 2021-07-19 11:12:02 +05:30 committed by mergify[bot]
parent 9d57717222
commit 7f6b73e71f

View File

@ -165,9 +165,11 @@ func validateRBDImageCount(f *framework.Framework, count int, pool string) {
}
if len(imageList) != count {
e2elog.Failf(
"backend images not matching kubernetes resource count,image count %d kubernetes resource count %d",
"backend images not matching kubernetes resource count,image count %d kubernetes resource count %d"+
"\nbackend image Info:\n %v",
len(imageList),
count)
count,
imageList)
}
}