@@ -17,18 +17,12 @@ type driverConfig struct {
17
17
SupportedFsType []string
18
18
MinimumVolumeSize string
19
19
NumAllowedTopologies int
20
- Timeouts map [string ]string
21
20
}
22
21
23
22
const (
24
23
testConfigDir = "test/k8s-integration/config"
25
24
configTemplateFile = "test-config-template.in"
26
25
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"
32
26
)
33
27
34
28
// generateDriverConfigFile loads a testdriver config template and creates a file
@@ -129,11 +123,6 @@ func generateDriverConfigFile(testParams *testParameters, storageClassFile strin
129
123
minimumVolumeSize = "200Gi"
130
124
numAllowedTopologies = 2
131
125
}
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
- }
137
126
params := driverConfig {
138
127
StorageClassFile : filepath .Join (testParams .pkgDir , testConfigDir , storageClassFile ),
139
128
StorageClass : storageClassFile [:strings .LastIndex (storageClassFile , "." )],
@@ -142,7 +131,6 @@ func generateDriverConfigFile(testParams *testParameters, storageClassFile strin
142
131
Capabilities : caps ,
143
132
MinimumVolumeSize : minimumVolumeSize ,
144
133
NumAllowedTopologies : numAllowedTopologies ,
145
- Timeouts : timeouts ,
146
134
}
147
135
148
136
// Write config file
0 commit comments