You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/k8s-integration/main.go
+16-2
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,7 @@ var (
62
62
storageClassFiles=flag.String("storageclass-files", "", "name of storageclass yaml file to use for test relative to test/k8s-integration/config. This may be a comma-separated list to test multiple storage classes")
63
63
snapshotClassFiles=flag.String("snapshotclass-files", "", "name of snapshotclass yaml file to use for test relative to test/k8s-integration/config. This may be a comma-separated list to test multiple storage classes")
64
64
vacFiles=flag.String("volumeattributesclass-files", "", "name of volumeattributesclass yaml file to use for test relative to test/k8s-integration/config. This may be a comma-separated list to test multiple volumeattributesclasses.")
65
+
scVacFile=flag.String("storageclass-for-vac-file", "", "name of storageclass yaml file to use for test relative to test/k8s-integraion/config against the volumeattributesclass-files.")
65
66
inProw=flag.Bool("run-in-prow", false, "is the test running in PROW")
66
67
67
68
// Driver flags
@@ -160,6 +161,10 @@ func main() {
160
161
ensureVariable(storageClassFiles, true, "One of storageclass-file and migration-test must be set")
161
162
}
162
163
164
+
iflen(*vacFiles) !=0 {
165
+
ensureVariable(scVacFile, true, "storageclass-for-vac-file must be set when volumeattributesclass-files is set")
166
+
}
167
+
163
168
if!*bringupCluster&&*platform!="windows" {
164
169
ensureVariable(kubeFeatureGates, false, "kube-feature-gates set but not bringing up new cluster")
0 commit comments