Skip to content

Commit 71412e0

Browse files
committed
delete timeouts for skipping volume-cloning tests
1 parent 266bd71 commit 71412e0

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

test/k8s-integration/config/test-config-template.in

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ StorageClass:
44
SnapshotClass:
55
FromFile: {{ .SnapshotClassFile }}
66
{{end}}
7-
{{if .Timeouts}}
8-
Timeouts:
9-
{{ range $key, $value := .Timeouts }}{{ $key }}: {{ $value }}
10-
{{ end }}
11-
{{end}}
127
DriverInfo:
138
Name: csi-gcepd-{{.StorageClass}}
149
SupportedFsType:

test/k8s-integration/driver-config.go

-12
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,12 @@ type driverConfig struct {
1717
SupportedFsType []string
1818
MinimumVolumeSize string
1919
NumAllowedTopologies int
20-
Timeouts map[string]string
2120
}
2221

2322
const (
2423
testConfigDir = "test/k8s-integration/config"
2524
configTemplateFile = "test-config-template.in"
2625
configFile = "test-config.yaml"
27-
// configurable timeouts for the k8s e2e testsuites.
28-
dataSourceProvisionTimeout = "480s"
29-
30-
// These are keys for the configurable timeout map.
31-
dataSourceProvisionTimeoutKey = "DataSourceProvision"
3226
)
3327

3428
// generateDriverConfigFile loads a testdriver config template and creates a file
@@ -129,11 +123,6 @@ func generateDriverConfigFile(testParams *testParameters, storageClassFile strin
129123
minimumVolumeSize = "200Gi"
130124
numAllowedTopologies = 2
131125
}
132-
// GCE PD CSI Driver takes in the order of minutes to provision storage with a pvc data source provisioned,
133-
// and with dynamic provisioning (WaitForFirstCustomer policy), some e2e tests need a longer pod start timeout.
134-
timeouts := map[string]string{
135-
dataSourceProvisionTimeoutKey: dataSourceProvisionTimeout,
136-
}
137126
params := driverConfig{
138127
StorageClassFile: filepath.Join(testParams.pkgDir, testConfigDir, storageClassFile),
139128
StorageClass: storageClassFile[:strings.LastIndex(storageClassFile, ".")],
@@ -142,7 +131,6 @@ func generateDriverConfigFile(testParams *testParameters, storageClassFile strin
142131
Capabilities: caps,
143132
MinimumVolumeSize: minimumVolumeSize,
144133
NumAllowedTopologies: numAllowedTopologies,
145-
Timeouts: timeouts,
146134
}
147135

148136
// Write config file

0 commit comments

Comments
 (0)