mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 00:10:20 +00:00
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:
parent
f5e73009e1
commit
05622b87c0
@ -165,9 +165,11 @@ func validateRBDImageCount(f *framework.Framework, count int, pool string) {
|
|||||||
}
|
}
|
||||||
if len(imageList) != count {
|
if len(imageList) != count {
|
||||||
e2elog.Failf(
|
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),
|
len(imageList),
|
||||||
count)
|
count,
|
||||||
|
imageList)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user