Skip to content

Commit 4a0f6ca

Browse files
committed
fix test suite issue
1 parent a6420e8 commit 4a0f6ca

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cmd/gce-pd-csi-driver/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ func urlFlag(target **url.URL, name string, usage string) {
352352
}
353353

354354
func setupDataCache(ctx context.Context, nodeName string) error {
355-
klog.V(2).Infof("Seting up data cache for node %s", nodeName)
355+
klog.V(2).Infof("Setting up data cache for node %s", nodeName)
356356
if nodeName != common.TestNode {
357357
cfg, err := rest.InClusterConfig()
358358
if err != nil {

test/e2e/utils/utils.go

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ func GCEClientAndDriverSetup(instance *remote.InstanceInfo, driverConfig DriverC
8383
// useful to see what's happening when debugging tests.
8484
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 &'",
8585
workspace, endpoint, strings.Join(extra_flags, " "), workspace)
86+
klog.Infof("driverCmd %s", driverRunCmd)
8687
config := &remote.ClientConfig{
8788
PkgPath: pkgPath,
8889
BinPath: binPath,

test/remote/instance.go

-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ func (i *InstanceInfo) CreateOrGetInstance(localSSDCount int) error {
148148
EnableConfidentialCompute: true,
149149
}
150150
}
151-
klog.Infof("=======Adding LocalSSD %v=============", localSSDCount)
152151

153152
localSSDConfig := &compute.AttachedDisk{
154153
Type: "SCRATCH",

test/run-e2e.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ set -x
55

66
readonly PKGDIR=sigs.k8s.io/gcp-compute-persistent-disk-csi-driver
77

8-
TIMEOUT=50m
8+
TIMEOUT=20m
99
if [ "$RUN_CONTROLLER_MODIFY_VOLUME_TESTS" = true ]; then
1010
TIMEOUT=45m
1111
fi
1212

13-
go test --timeout "${TIMEOUT}" --v "${PKGDIR}/test/e2e/tests" --run-in-prow=true --delete-instances=true --logtostderr $@
13+
go test --timeout "${TIMEOUT}" --v "${PKGDIR}/test/e2e/tests" --run-in-prow=true --delete-instances=false --logtostderr $@

0 commit comments

Comments
 (0)