Skip to content

Commit eb4e5e5

Browse files
committed
Cleaning up some added debug log
1 parent fc7e3c2 commit eb4e5e5

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

test/e2e/utils/utils.go

-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ func GCEClientAndDriverSetup(instance *remote.InstanceInfo, computeEndpoint stri
5353
binPath := path.Join(pkgPath, "bin/gce-pd-csi-driver")
5454

5555
endpoint := fmt.Sprintf("tcp://localhost:%s", port)
56-
klog.Infof("ENDPOINT: %s", endpoint)
5756
extra_flags := []string{
5857
fmt.Sprintf("--extra-labels=%s=%s", DiskLabelKey, DiskLabelValue),
5958
"--max-concurrent-format-and-mount=20", // otherwise the serialization times out the e2e test.
@@ -66,7 +65,6 @@ func GCEClientAndDriverSetup(instance *remote.InstanceInfo, computeEndpoint stri
6665
// useful to see what's happening when debugging tests.
6766
driverRunCmd := fmt.Sprintf("sh -c '/usr/bin/nohup %s/gce-pd-csi-driver -v=6 --endpoint=%s %s 2> %s/prog.out < /dev/null > /dev/null &'",
6867
workspace, endpoint, strings.Join(extra_flags, " "), workspace)
69-
klog.Infof("DRIVER COMMAND %s", driverRunCmd)
7068
config := &remote.ClientConfig{
7169
PkgPath: pkgPath,
7270
BinPath: binPath,

test/remote/runner.go

-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ func (i *InstanceInfo) UploadAndRun(archivePath, remoteWorkspace, driverRunCmd s
5959

6060
klog.V(4).Infof("Starting driver on %q", i.name)
6161
// When the process is killed the driver should close the TCP endpoint, then we want to download the logs
62-
klog.Infof("DRIVER RUN COMMAND: %s", driverRunCmd)
6362
output, err := i.SSH(driverRunCmd)
6463
if err != nil {
6564
// Exit failure with the error
@@ -76,7 +75,6 @@ func (i *InstanceInfo) UploadAndRun(archivePath, remoteWorkspace, driverRunCmd s
7675
//`awk "{print \$2}"`,
7776
)
7877
driverPIDString, err := i.SSHNoSudo("sh", "-c", driverPIDCmd)
79-
klog.Infof("DRIVER PID STRING %s: COMMAND: %s", driverPIDString, driverPIDCmd)
8078
if err != nil {
8179
// Exit failure with the error
8280
return -1, fmt.Errorf("failed to get PID of driver, got output: %v, error: %v", output, err.Error())

0 commit comments

Comments
 (0)