Skip to content

Commit 297a188

Browse files
authored
tests: Replace use of deprecated ginkgo flag (kubernetes#2007)
Resolve the following warning seen in CI runs: You're using deprecated Ginkgo functionality: ============================================= --ginkgo.noColor is deprecated, use --ginkgo.no-color instead Learn more at: https://onsi.github.io/ginkgo/MIGRATING_TO_V2#changed-command-line-flags Signed-off-by: Stephen Finucane <[email protected]> Signed-off-by: Stephen Finucane <[email protected]>
1 parent 1b9eacc commit 297a188

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/playbooks/roles/install-csi-cinder/tasks/main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
-storage.testdriver=tests/e2e/csi/cinder/test-driver.yaml \
159159
-ginkgo.focus='External.Storage' \
160160
-ginkgo.skip='\[Disruptive\]|\[Testpattern:\s+Dynamic\s+PV\s+\(default\s+fs\)\]\s+provisioning\s+should\s+mount\s+multiple\s+PV\s+pointing\s+to\s+the\s+same\s+storage\s+on\s+the\s+same\s+node|\[Testpattern:\s+Dynamic\s+PV\s+\(default\s+fs\)\]\s+provisioning\s+should\s+provision\s+storage\s+with\s+any\s+volume\s+data\s+source\s+\[Serial\]' \
161-
-ginkgo.noColor \
161+
-ginkgo.no-color \
162162
-ginkgo.progress \
163163
-ginkgo.v \
164164
-test.timeout=0 \
@@ -172,7 +172,7 @@
172172
cmd: |
173173
set -x
174174
set -e
175-
175+
176176
kubectl logs deployment/csi-cinder-controllerplugin -n kube-system -c cinder-csi-plugin > /var/log/csi-pod/csi-cinder-controllerplugin.log
177177
kubectl logs daemonset/csi-cinder-nodeplugin -n kube-system -c cinder-csi-plugin > /var/log/csi-pod/csi-cinder-nodeplugin.log
178178
ignore_errors: true

tests/playbooks/roles/install-csi-manila/tasks/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
-ginkgo.progress \
226226
-ginkgo.skip="\[Disruptive\]|\[sig-storage\]\s+\[manila-csi-e2e\]\s+CSI\s+Volumes\s+\[Driver:\s+nfs.manila.csi.openstack.org\]\s+\[Testpattern:\s+Dynamic\s+PV\s+\(default\s+fs\)\]\s+provisioning\s+should\s+provision\s+storage\s+with\s+any\s+volume\s+data\s+source\s+\[Serial\]" \
227227
-ginkgo.focus="\[manila-csi-e2e\]" \
228-
-ginkgo.noColor \
228+
-ginkgo.no-color \
229229
-report-dir /var/log/csi-pod \
230230
-timeout=0 | tee "/var/log/csi-pod/manila-csi-e2e.log"
231231
register: functional_test_result

0 commit comments

Comments
 (0)