e2e: log imageList in validateRBDImageCount for better debugging

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 7f6b73e71f)
This commit is contained in:
Rakshith R 2021-07-19 11:12:02 +05:30 committed by mergify[bot]
parent f5e73009e1
commit 05622b87c0

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