mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
mock tests: remove redundant retrieval of log output
The code became obsolete with the introduction of parseMockLogs because that will retrieve the log itself. For debugging of a running test the normal pod output logging is sufficient.
This commit is contained in:
parent
d06589e4b6
commit
367a23e4d9
@ -885,13 +885,7 @@ func checkPodLogs(cs clientset.Interface, namespace, driverPodName, driverContai
|
||||
expectedAttributes["csi.storage.k8s.io/ephemeral"] = strconv.FormatBool(ephemeralVolume)
|
||||
}
|
||||
|
||||
// Load logs of driver pod
|
||||
log, err := e2epod.GetPodLogs(cs, namespace, driverPodName, driverContainerName)
|
||||
if err != nil {
|
||||
return fmt.Errorf("could not load CSI driver logs: %s", err)
|
||||
}
|
||||
framework.Logf("CSI driver logs:\n%s", log)
|
||||
// Find NodePublish in the logs
|
||||
// Find NodePublish in the GRPC calls.
|
||||
foundAttributes := sets.NewString()
|
||||
numNodePublishVolume := 0
|
||||
numNodeUnpublishVolume := 0
|
||||
|
Loading…
Reference in New Issue
Block a user